Yes Better still, isTRUE=TRUE<12>="Y" Works the same and can be tricky to find when the second "=" is a typo for adjacent or shifted keys "-" or "+" :-(
Which is why I much prefer to see isTRUE = @FALSE IF TRUE<12> EQ "Y" THEN isTRUE = @TRUE As a convention, I always use "=" for assignment only and "EQ" for comparison Mike > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of jjuser ud2 > Sent: Thursday, 21 September 2006 10:55 > To: [email protected] > Subject: [U2] Forcing a boolean comparison? > > Good evening, > > 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? The information contained in this Internet Email message is intended for the addressee only and may contain privileged information, but not necessarily the official views or opinions of the New Zealand Defence Force. If you are not the intended recipient you must not use, disclose, copy or distribute this message or the information in it. If you have received this message in error, please Email or telephone the sender immediately. ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
