home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
rpos2101.zip
/
NAME.P
< prev
next >
Wrap
Text File
|
1998-06-05
|
484b
|
23 lines
R: name.p - Simple question & answer type program
: Written by Rob Linwood (auntfloyd@biosys.net)
R: Ask the user what their name is
T: What is your name?
R: Get their answer and put it in $name
A: $name
R: Ask for their age
T: How old are you? I won't tell!
R: Get their answer to that question, and put it in #age
A: #age
R: Display the information
T: Your name is $name and you are #age years old.
R: We don't need an E: here because the file ends