Feb 2004 11:46:25 -0500
To: U2 Users Discussion List [EMAIL PROTECTED]
Subject: Re: [UV] paragraph labels
What does the 'also documented' sentence mean. How would a non-existant
label appear before the GO in a paragraph.
Regarding paragraphs: Do they behave like procs whereby you can
Yes.
On this topic, does the proc statement
[PQ.LIB OTHER.PROC] 100
work on U2's. Just wondering.
__
This e-mail, including any attachments, may contain information
that is protected by law as privileged and confidential, and is
It's documented behaviour that GO to a label that does not exist in a paragraph will
cause the process to exit from the paragraph. From memory it's in the UniVerse System
Description somewhere. There's no default label. It's also documented that the
same behaviour will occur if you attempt
). This is a downside of procs due to not needing
to be compiled.
my 1 cent.
- Original Message -
From: Ray Wurlod [EMAIL PROTECTED]
To: U2 Users Discussion List [EMAIL PROTECTED]
Sent: Sunday, February 22, 2004 5:03 AM
Subject: RE: [UV] paragraph labels
It's documented behaviour that GO
will.
Best Advice for any price? Get the documentation and read it.
- Original Message -
From: Mark Johnson [EMAIL PROTECTED]
To: U2 Users Discussion List [EMAIL PROTECTED]
Sent: Sunday, February 22, 2004 11:46 AM
Subject: Re: [UV] paragraph labels
What does the 'also documented' sentence
0001: IF @LOGNAME NE 'FRED' THEN GO OUT
: .X BAS
BOB filed in file BP.
Executing the command BASIC BP BOB.
Compiling: Source = 'BP/BOB', Object = 'BP.O/BOB'
*
Label 'OUT' not defined
1 Errors detected, No Object Code Produced
Are you sure there not an include somewhere and this is set
This is just plain, simple bad programming. In a paragraph, jumping to an
undefined label terminates the paragraph. It is totally unsafe to use this
as a nifty way to end because someone might later add the label for some
other meaning in the same paragraph.
In a Basic program, as one responder
IF some condition THEN GO OUT
...however, there is no OUT: label in the paragraph. Somehow,
this works. Is OUT some kinda built-in label?
Don't think so, it seems like any undefined label will abort from the
paragraph.