It is documented - but under WHILE and UNTIL
as it is a general  feature of these,  using the THEN and ELSE
clauses of any verb that has them.

--  mats


[EMAIL PROTECTED] wrote:

LOOP
        code
WHILE READNEXT id DO
        more code
REPEAT

This format of the READNEXT statement is used in a couple of places in the
UniVerse BASIC manual. It looks like READNEXT is returning a Boolean.

If I look up READNEXT in the manual (or in HELP from TCL) - there is no
mention of this format of the statement.

And in the manual the THEN and ELSE are enclosed in braces: {THEN statements
[ELSE statements] | ELSE statements}
which according to convention means that I have to choose one "non-optional"
item.

Has this format of the statement just been left out of the manual by mistake
or is it a "new" format, that was never documented.

And, what are people's thoughts on using this format. Personally I dislike
it, as it isn't easily readable, it's not documented and it's not a standard
use of the statement syntax.

AdrianW




Disclaimer. This e-mail is private and confidential. If you are not the intended recipient, please advise us by return e-mail immediately, and delete the e-mail and any attachments without using or disclosing the contents in any way. The views expressed in this e-mail are those of the author, and do not represent those of this company unless this is clearly indicated. You should scan this e-mail and any attachments for viruses. This company accepts no liability for any direct or indirect damage or loss resulting from the use of any attachments to this e-mail. ------- 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