home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 3 Comm
/
03-Comm.zip
/
zow311.exe
/
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