home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / applications / wp / textra16.lha / Textra116 / Scripts / StartTextra.rexx < prev    next >
Encoding:
OS/2 REXX Batch file  |  1993-05-04  |  318 b   |  13 lines

  1. /* load a file into Textra */
  2. arg filename
  3.  
  4. if ~show('l','rexxsupport.library') then
  5.     if ~addlib('rexxsupport.library',0,-30) then
  6.         exit 25
  7.  
  8. if ~show('Ports', 'TEXTRA') then
  9.     address command 'run >nil: <nil: Textra "'filename'"'    / * start textra */
  10. else
  11.     address 'TEXTRA' 'openfile' '"'filename'"'
  12.  
  13.