home *** CD-ROM | disk | FTP | other *** search
/ back2roots/padua / padua.7z / padua / audio / EdPlayer20.Lha / AskEd.rexx next >
OS/2 REXX Batch file  |  1992-05-20  |  441b  |  15 lines

  1. /* AskEd : ARexx script to ask EdPlayer about status. */
  2.  
  3. /* usage: rx AskEd <"A" command>  */
  4.  
  5. arg Acom  /* Read the CLI parameter into Acom */
  6.  
  7. options RESULTS     /* Very important, turns on magic RESULT variable */
  8.  
  9. address EDPLAYER Acom   /* Send Acom to EDPLAYER, should affect RESULT */
  10. ans = RESULT   /* Be sure to grab RESULT before anything else! */
  11.  
  12. say Acom||' returned '||ans  /* I guess the user should hear about it. */
  13.  
  14. exit
  15.