learning PL/1 -- [1 Attachment]

Ron Hudson <[email protected]> Wed, 25 Aug 2010 15:49:36 -0700
Newsgroups gmane.comp.emulators.turnkey-mvs
Message-ID <[email protected]>
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.