User defined variable Format (L) Logical

Hi,

Could anyone please tell me what is the value set to (L) type variable
when its set to
1)true
2)False
3)Reset

Thankyou.

The default is false (binary zero) and this is the default reset value also.
If you want it to reset to true you can have an initvalue
1 loc (L) init
and then use the
RESET INITIAL loc
statement

Finn

From a “boolean” point of view, a logical variable only can have two values:
FALSE or TRUE. There’s no value for “undefinded”.

So if you RESET a logical variable, it is FALSE by default.

From a “technical” point of view, a logical varibale is a one-byte-variable.
It is interpreted as FALSE, if the rightmost bit is 0.
It is interpreted as TRUE, if the rightmost bit is 1.