home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d9xx
/
d916
/
mathplot.lha
/
MathPlot
/
Macros
/
test5.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1993-10-04
|
875b
|
45 lines
/* Test of requeststring and requestnumber etc. */
address "MPlot_ARexx"
options results
requeststring
say rc rc2 result
requeststring 'prompt "Just a little Test"'
say rc rc2 result
requeststring 'default "This is a DEFAULT-text"'
say rc rc2 result
requestnumber
say rc rc2 result
requestnumber 'default "524"'
say rc rc2 result
requestnumber 'prompt "Enter a number"'
say rc rc2 result
requestnumber 'default "45645" prompt "A big question"'
say rc rc2 result
/* This will return an ERROR */
/*
say "There should be an error"
requestresponse
say rc rc2 result
*/
requestresponse 'title "This is the Title" prompt "I*Nask*Nyou*Nsomething" button "OK|CANCEL"'
say rc rc2 result
requestresponse 'prompt "A test" button "ok"'
say rc rc2 result
requestresponse 'prompt "A test"'
say rc rc2 result
requestnotify 'prompt "This it the text"'
/* There is not result */