View previous topic :: View next topic
|
Author |
Message |
linc
New User
Joined: 25 Aug 2008 Posts: 25 Location: china
|
|
|
|
Hi Gent:
This is my frist time to write PL1 program.Does anybody know how to code AND/OR in PL1 program?.I only know '&' stands for AND in PL1.
Thanks very much. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
The vbar is the OR ... is that what you want to know? Your question is not at all clear -- if you want to know about a single symbol for AND/OR, this doesn't exist because a conditional is either an AND or an OR -- but never both. |
|
Back to top |
|
|
linc
New User
Joined: 25 Aug 2008 Posts: 25 Location: china
|
|
|
|
thank you.That's what I want. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
A PL/I "DO WHILE" is the same as a COBOL "PERFORM WITH TEST BEFORE" (which is the COBOL default).
HTH....
Regards,
Bill |
|
Back to top |
|
|
|