RMA
Member
This is something that's been annoying me on and off for months if not years, but I've finally got sufficiently pi$$ed off to want to get to the bottom of it at last.
I've always thought that the STA Bit showed the status of the variable that was being operated on (read or written to). In other words if the state of a Bit was TRUE then the STA Bit would show "1" and if it's FALSE then STA would show "0". At least that's my understanding of what it says in the help file (disregarding the fact that on this occasion as well as most others, irrespective of whether I read the German or English version, even after reading it a dozen times, I'm never 100% sure that I've really understood what they're trying to say! ).
Every now and then, however, this is not the case and I need to revert to a VAT to find out what's really happening. What I haven't fathomed out are the circumstances under which this happens. Can some kind soul out there please explain to me what's going on here!
How come my M999.x Marker Bits don't show "1" in the STA Bit? At first I thought it might have something to do with the Bit only being set and not read in the original program, so I changed to assign (=) and then added the query immediately after it, no change!
I've always thought that the STA Bit showed the status of the variable that was being operated on (read or written to). In other words if the state of a Bit was TRUE then the STA Bit would show "1" and if it's FALSE then STA would show "0". At least that's my understanding of what it says in the help file (disregarding the fact that on this occasion as well as most others, irrespective of whether I read the German or English version, even after reading it a dozen times, I'm never 100% sure that I've really understood what they're trying to say! ).
Every now and then, however, this is not the case and I need to revert to a VAT to find out what's really happening. What I haven't fathomed out are the circumstances under which this happens. Can some kind soul out there please explain to me what's going on here!
How come my M999.x Marker Bits don't show "1" in the STA Bit? At first I thought it might have something to do with the Bit only being set and not read in the original program, so I changed to assign (=) and then added the query immediately after it, no change!