Re: learning PL/1 --
Rick Fochtman <[email protected]> Thu, 26 Aug 2010 14:32:04 -0500
| Newsgroups | gmane.comp.emulators.turnkey-mvs |
|---|---|
| Message-ID | <[email protected]> |
-------------------------------------<snip>------------------------------------ > > [Attachment(s) <#TopText> from Ron Hudson included below] > > Hi All > > Who is 'into' PL/1? > > So I am beginning a two week period off school, wherein I would like > to learn some PL/1 > > I have IBM PL1-MVS-VM-Lang Ref.PDF but for this problem it's not helping. > > For my first program the computer will guess the users number - so far > I actually put > the number in the program itself later the user will interact with the > program. > > Currently I am getting a message about the way I have declared a > variable in a function > and what I am returning (listing attached) > > btw the only reason for the NOT function is because I don't know how > to type a 'not' character. > > Note that as it stand this program would simply run to time our output > limit because I am not > updating things inside the loop - but it's not running anyway. > > Thanks. > > Ron. > -------------------------------------------<unsnip>---------------------------------------------------- Ron, I can't do diddly-squat with your attachment. You might do better by simply imbedding the questionable parts of your program into your message. A "Logical NOT" on a standard 3270 is the upper-case version of a numeral 6. It looks like a capital "L", rotated 90 degrees counter-clockwise and flipped so that the sign faces down instead of up. Sort of like a horizontal line with no support at the right end. I don't know how your terminal emulator processes the value, but in S/360 hex it's a X'5F'. I can help with PL/1, since it was my "second language", after Assembler. and before FORTRAN. Talk to me off-list and we'll see what can be done. Rick