home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 18 REXX
/
18-REXX.zip
/
vxtech06.zip
/
VXTECH06
/
EMPLIST
/
DDEEXEC.VRX
< prev
next >
Wrap
Text File
|
1994-04-18
|
546b
|
31 lines
/*:VRX Main
*/
/*
ok = DDEExec( dde, cmnd [, wait] )
- Wait can be "N" (no wait) or "W" (wait, the default)
*/
Main:
parse arg dde, cmnd, wait
retVal = 0
if wait = "N" then do
wait = "NoWait"
end
else do
wait = "Wait"
end
ok = VRMethod( dde, 'Execute', cmnd, wait )
if ok \= "OK" then do
call Error 'Unable to execute "' || cmnd || '", (' || wait || '):' ok
signal DDEExecDone
end
retVal = 1
DDEExecDone:
exit retVal