CompuServe Messages

re :51150

    30-Jan-87 03:53:42
Sb: re :51150
Fm: James Powell 76566,1161
To: Steven D. Kapplin 70055,1021
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