Contents | Index | < Browse | Browse >
SENDREXX RexxPortName CommandLine
This is the command used to send ARexx messages to other programs.
RexxPortName is the name of the Rexx port to which you want to
send the command.
* Port names are always Case Sensitive !
CommandLine is the Rexx command you want to send.
example :
SendRexx rexx_ced 'open $Myfile'
- will send the command to load a specified file to the rexx
port of the CygnusEd editor. "rexx_ced" is CygnusEd's rexx
port name.
This command sets the following internal variables :
$$RETCODE contains the value returned by ARexx - 0 means OK
$$REXXRET contains the value returned in RESULT2, if any.
If you don't know anything about ARexx, you're not alone - neither
do I. You don't have to know anything though to use this command.
Most programs provide ARexx commands. All you have to know, is
what these are and use them as you would use CLI commands.
You can do a lot with this command, as you will see.
Example : Run Gui
Gui4Cli Source
ARexx Source