home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD1.bin
/
new
/
util
/
edit
/
polyed
/
rexx
/
getxxx.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-09-22
|
504b
|
29 lines
/*
** $VER: getxxx.rexx 1.0 (30.8.94) written by Robert Brandner
**
** Demo of the usage of the GETCHAR, GETWORD and GETLINE commands
*/
/* enable return codes */
OPTIONS RESULTS
/* is PolyEd out there ? */
if ~SHOW("Ports", "POLYED.1") then do
say "Please start PolyEd before running this program."
exit
end
ADDRESS POLYED.1.1
'GETCHAR VAR C'
'GETWORD VAR W'
'GETLINE VAR L'
say "Current character is '"||C||"'."
say "Current word is '"||W||"'."
say "Current line is '"||L||"'."
/* The End */