home *** CD-ROM | disk | FTP | other *** search
- /* An example of a disterm`DISSTRING command. */
- /* It takes 1 arg, a string to output to the modem */
-
- /* Here's how I begin all of my rexx scripts meant to control disTerm */
- ADDRESS 'disTerm' /* All the following commands go to disTerm */
- OPTIONS FAILAT 20
- OPTIONS RESULTS
- quote = '27'X /* use this variable name in place of any ' char within a string */
-
- /* Get the stirng that the user specified when invoking the script into a rexx */
- /* variable called sendit */
-
- /* Bring disTerm window to the front */
- 'DISWIND'
-
- /* Here's the string we want to send. Note the new line characters \n */
- sendit = '\nthis is a test\n'
-
- /* Output that string to the modem. (Also prints it to our term window) */
- 'DISSTRING'sendit
-