home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
600-699
/
ff634.lha
/
APIG
/
apig33.lzh
/
easyrequest1.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1992-02-05
|
866b
|
33 lines
/* Example of EasyRequester */
x = addlib("apig.library",0,-30,0)
call set_apig_globals()
portname = "easyreq1_port"
p = openport(portname)
WaitForPort portname
wintitle = "Easy Requester Example"
winidcmp = CLOSEWINDOW
winflags = WINDOWCLOSE+WINDOWDRAG+WINDOWSIZING+WINDOWDEPTH+GIMMEZEROZERO
win = openwindow(portname,0,0,640,200,2,4,winidcmp,winflags,wintitle,null(),0,0,0)
wtext = "This is your EasyRequester"
rtext = "Say Buddy This is your Easy Requester " '0a'x '0a'x
rtext = rtext || "And this is just the Second Line " '0a'x
rtext = rtext || "And this is just the Third Line " '0a'x
rtext = rtext || "And this is just the Fourth Line " '0a'x
rtext = rtext || "And this is just the Fifth Line " '0a'x
gtext = " OKAY " /* you must provide at least one Gadget */
x = easyrequest(win,wtext,rtext,gtext)
call CLOSEWINDOW(win)
exit