RE: [UV] paragraph labels
> On this topic, does the proc statement [PQ.LIB OTHER.PROC] > 100 work on U2's. Just wondering. Yes, as does: [%1 %2] 100 but fortunately NOT: [%1 %2] %3 At least there is some decency left. Brian This email was checked on leaving Microgen for viruses, similar malicious code and inappropriate content by MessageLabs SkyScan. DISCLAIMER This email and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information. In the event of any technical difficulty with this email, please contact the sender or [EMAIL PROTECTED] Microgen Information Management Solutions http://www.microgen.co.uk -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: [UV] paragraph labels
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 transmitted for the sole use of the intended recipient. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying or retention of this e-mail or the information contained herein is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender by telephone or reply e-mail, and permanently delete this e-mail from your computer system. Thank you. -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: [UV] paragraph labels
#1. I agree. #2 was my bad on the re-use of 'non-existant'. The last sentence indicates that a GO in a paragraph can only go forward. I'm not paragraph oriented (a proctologist) but i wonder if that's right. Proc and Basic GOTO's obviously go forward or backward. On this topic, does the proc statement [PQ.LIB OTHER.PROC] 100 work on U2's. Just wondering. THANKS. - Original Message - From: "Ray Wurlod" <[EMAIL PROTECTED]> To: "U2 Users Discussion List" <[EMAIL PROTECTED]> Sent: Monday, February 23, 2004 2:50 PM Subject: Re: [UV] paragraph labels > 1. "also documented" means that it's in the UniVerse manuals, but I don't have access to them right now. > > 2. I did not refer to "non-existant" labels earlier in the paragraph. Check my words again. > > 3. Try it and see! > > > - Original Message - > From: "Mark Johnson" <[EMAIL PROTECTED]> > Date: Sun, 22 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 accidentally > > have the same label twice and the proc goes to the first occurrence > > (starting at the beginning). 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 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 to GO to a label that is earlier in the paragraph than the GO > > command. > > > -- > > > u2-users mailing list > > > [EMAIL PROTECTED] > > > http://www.oliver.com/mailman/listinfo/u2-users > > > > -- > > u2-users mailing list > > [EMAIL PROTECTED] > > http://www.oliver.com/mailman/listinfo/u2-users > > > > -- > u2-users mailing list > [EMAIL PROTECTED] > http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: [UV] paragraph labels
1. "also documented" means that it's in the UniVerse manuals, but I don't have access to them right now. 2. I did not refer to "non-existant" labels earlier in the paragraph. Check my words again. 3. Try it and see! - Original Message - From: "Mark Johnson" <[EMAIL PROTECTED]> Date: Sun, 22 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 accidentally > have the same label twice and the proc goes to the first occurrence > (starting at the beginning). 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 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 to GO to a label that is earlier in the paragraph than the GO > command. > > -- > > u2-users mailing list > > [EMAIL PROTECTED] > > http://www.oliver.com/mailman/listinfo/u2-users > > -- > u2-users mailing list > [EMAIL PROTECTED] > http://www.oliver.com/mailman/listinfo/u2-users > -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: [UV] paragraph labels
PARAGRAPHS are GREAT! Any PARAGRAPH using GO statements should have unique explicit labels. GO statements of any PARAGRAPH should explicitly call the label they want to go to. Logically, it does not make sense to have two have two different, but equally labeled "PARAGRAPH Subroutines" if you 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 mean. How would a non-existant > label appear before the GO in a paragraph. > > Regarding paragraphs: Do they behave like procs whereby you can accidentally > have the same label twice and the proc goes to the first occurrence > (starting at the beginning). 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 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 to GO to a label that is earlier in the paragraph than the GO > command. > > -- > > u2-users mailing list > > [EMAIL PROTECTED] > > http://www.oliver.com/mailman/listinfo/u2-users > > -- > u2-users mailing list > [EMAIL PROTECTED] > http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
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 accidentally have the same label twice and the proc goes to the first occurrence (starting at the beginning). 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 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 to GO to a label that is earlier in the paragraph than the GO command. > -- > u2-users mailing list > [EMAIL PROTECTED] > http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: [UV] paragraph labels
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 to GO to a label that is earlier in the paragraph than the GO command. -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Re: [UV] paragraph labels
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 showed, you get a compilation error. Martin Phillips Ladybridge Systems 17b Coldstream Lane, Hardingstone, Northampton NN4 6DB +44-(0)1604-709200 -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: [UV] paragraph labels
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 up in a common block ? bob -Original Message- From: Barry Brevik [mailto:[EMAIL PROTECTED] Sent: 19 February 2004 22:08 To: U2 list (E-mail) Subject: [UV] paragraph labels On UV versions 9.4.1.1d through 9.6.1.3 as far as I know... We have a great many paragraphs (third party app) that contains a line like this: IF THEN GO OUT ...however, there is no OUT: label in the paragraph. Somehow, this works. Is "OUT" some kinda built-in label? I'd like to know because I don't want to learn any bad habits . -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com Confidentiality Notice: This e-mail and any attachments are intended solely for the addressee and may contain confidential or privileged information. If you are not the named addressee, or the person responsible for delivering the message to the named addressee, please notify the sender as soon as possible and delete the material from your computer. This message will be protected by copyright. If it has come to you in error, you must not take any action based on its contents nor must you copy or show the message to any person other than the intended recipient. This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: [UV] paragraph labels
> IF 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. ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
[UV] paragraph labels
On UV versions 9.4.1.1d through 9.6.1.3 as far as I know... We have a great many paragraphs (third party app) that contains a line like this: IF THEN GO OUT ...however, there is no OUT: label in the paragraph. Somehow, this works. Is "OUT" some kinda built-in label? I'd like to know because I don't want to learn any bad habits . -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users