>In UniBasic, does a statement like:
>isTRUE=(TRUE<12>="Y")
>force a boolean comparison instead of an 
>assignment, such that isTRUE is assigned 
>a 1 or 0 as a value?

Yes.  Note that historically the name TRUE has been a favored equate
name, ala:

EQU TRUE TO 1

...or defined as a variable denoting truth:

TRUE = (1 EQ 1)

...therefore exercise caution with this word as a variable name when
modifying legacy code.  Also, note that I personally prefer the two
letter comparators (EQ, NE, etc.) to improve readability as it
provides some differentiation between the assignment and comparator
operators.

-Kevin
[EMAIL PROTECTED]
http://www.PrecisOnline.com
 
** Check out scheduled Connect! training courses at
http://www.PrecisOnline.com/train.html.
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to