I use this method quite frequently.  One of the things I just did was
something like that:

DL.TOP = CLINE - INT(WDEPTH/2)
DL.BOT = CLINE + INT(WDEPTH/2) + (REM(WDEPTH/2) NE 0)

The last part is going to give me either a 0 or a 1 depending on the odd
or even value of WDEPTH. I now have which lines to display above and
below my current line.  There's more to that calculation but it gives an
example of what you're wanting to do.

HTH's

BobW
 
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of jjuser ud2
Sent: Wednesday, September 20, 2006 3:55 PM
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?
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to