Is BASIC structured? :-p

If your answer is yes, then the GOTO should probably not be allowed (except in rare cases).

If your answer is no, then GOTO away!! (caveat: if not abused!)

As Yoda says:  GOTO is the evil not; incorrect the usage is!

At 02:46 PM 6/17/2004, you wrote:
You realize this does not conform to the ANSI structured programming
principles?  I have a version dated 1982 and goto's are not allowed...

Or was this just a joke?  In which case you certainly got me!  :-)

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Simon Lewington
Sent: Thursday, June 17, 2004 11:02 AM
To: [EMAIL PROTECTED]
Subject: Re: [U2] [UV] WHILE READNEXT id DO


<[EMAIL PROTECTED]> ... > LOOP > code > WHILE READNEXT id DO > more code > REPEAT

I prefer:

100
[code]
GOTO 300
200
[more code]
GOTO 100
300
READNEXT ID THEN GOTO 200
-------
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/
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to