home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d8xx
/
d810
/
amiga_e.lha
/
Amiga_E
/
Bin
/
ecompile.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1993-01-24
|
567b
|
21 lines
/* run E compiler from ced */
OPTIONS RESULTS
ADDRESS COMMAND
IF ~EXISTS('ram:ec') THEN 'copy run:ec ram:' /* for slow sys: devices */
ADDRESS 'rexx_ced'
'status 19' /* ask ced filename */
file = result
SAY 'invoking E compiler with file' file
PARSE VAR file comparg '.e' /* strip the extension */
ADDRESS
OPTIONS FAILAT 100000
'ram:ec -we' comparg /* run compiler */
eline = rc
IF EXISTS(comparg) THEN comparg /* run exe */
ADDRESS
a = READLN(STDOUT) /* wait for a <cr> */
IF eline>0 THEN 'jumpto' eline '0' /* jump to spot of error */
'cedtofront'