home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga MA Magazine 1998 #6
/
amigamamagazinepolishissue1998.iso
/
varia
/
fiasco_1.2
/
arexx
/
arexxprint.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1977-12-31
|
508b
|
27 lines
/* ARexxPrint.rexx
* Support script for the print function of Fiasco.
* This script is automatically called by Fiasco and
* is not allowed to call any Fiasco functions.
* Copyright © 1996 Nils Bandener
* $VER: ARexxPrint.rexx 4.2 (9.3.96)
*/
Parse Arg File
Address Command
File = strip(File,,'"')
say File
'virtex' '"' || File || '"'
dotpos = lastpos(".", File)
if dotpos ~= 0 then DVIFile = substr(File, 1, dotpos-1) || ".dvi"
else DVIFile = File || ".dvi"
'dviprint' '"' || DVIFile || '"'