home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 January
/
CHIPCD1_98.iso
/
software
/
tipsy
/
zoc
/
install.fil
/
SCRIPT
/
RXSAMPLE
/
TUTORIAL
/
1_FIRST.ZRX
next >
Wrap
Text File
|
1996-08-26
|
477b
|
22 lines
/* REXX */
/* ^^^^^^ REXX programs always begin with /* REXX */ on the first line */
/* clear the screen */
CALL ZocCls
/* set a variable */
WHO= "World"
/* output text and variable via string concatenation operator: || */
CALL ZocWriteln "Hello "||WHO||"!"
/* Ask user for his/her name */
who= ZocAsk("What is your name")
/* print some text to the ZOC window */
/* (this time we're using REXX's internal SAY command) */
SAY "Hello "||WHO||"!"
EXIT