home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 23
/
CU Amiga - Super CD-ROM 23 (June 1998).iso
/
CreatingGames
/
Utilities
/
E
/
E_Examples
/
UserInput
/
Sources
/
NameExample.E
< prev
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1997-02-26
|
391 b
|
13 lines
/* Get A Persons Name And Display It On Screen
An Example On How To Read User Input From CLI By Edward Farrow */
PROC main()
DEF moo[256]:STRING /* Memory To Store Reply In */
WriteF('What Is Your Name? ') /* Say The Message */
ReadStr(stdout,moo) /* Read The Reply */
WriteF('Your Name Is \s\n',moo) /* Display Answer! */
ENDPROC