re :51150
Hello, I have been doing some hacking on the shell, (I have a good version of
the aztec source) and have added a IF exists feature to the IF command, I also
have added copying of the date for the copy command (BUT am still using a KLUGE
which I hope to fix soon). The percent (%) operator is only used for alias
definitions and causes a variable of that name to be created while the alias is
running and destroyed when the alias is done. I present any arguments entered
after the command is entered (the alias) are put into this variable.
EXAMPLE:
alias c "%f cc -a +L +IStandardHeaders.pre $f ; as $f ; rm $f.asm"
USE:
c screen
This will invoke the Aztec compiler telling it to compile the file SCREEN.C and
producing an assembly file SCREEN.ASM. Then run the assembler with the file
SCREEN.ASM. Finally delete the file SCREEN.ASM. I needed this when I had not
yet patched the compiler to invoke the assembler automaticlly. hope this helps.
jim powell