$0 - Name of Alias
$n - Parameter from Command Line (1 <= n <= 9)
$* - Tail of Command Line (everything after the verb)
$D - Home Disk
$U - Home User
$Fn - FILENAME.TYP of System File n (1 <= n <= 4)
$Nn - FILENAME of System File n
$$ - The character '$'
Selected Error Messages:
"Ovfl� mean� tha� th� expande� comman� line�� combine� �
wit� th� remainde� o� th� content� o� th� comman� lin� �
buffer, is too long to fit in the command line buffer.
Examples of Use:
ALIAS
-- define Alias
ALIAS alias
-- display script of "alias.COM" and edit
:S
Summary of Alias Variables
$0 - Name of Alias
$n - Parameter from Command Line (1 <= n <= 9)
$* - Tail of Command Line (everything after the verb)
$D - Home Disk
$U - Home User
$Fn - FILENAME.TYP of System File n (1 <= n <= 4)
$Nn - FILENAME of System File n
$$ - The character '$'
:E
Examples of Aliases
Case 1:
Th� use� i� constantl� issuin� th� followin� command� �
in the order indicated:
ASM myfile.BBZ
LOAD myfile
He can generalize it with the following Alias script:
ASM $1.BBZ;LOAD $1
If this Alias is named MYASM.COM, then typing
"MYASM test" will be equivalent to "ASM test.BBZ;LOAD test"
I� NEC=$� Chec� t� se� i� 2n� par� i� NEC
DEV L NEC If so, assign LST to NEC
WSN $1 and run NEC version of WS
ELSE If not ...
DEV L TTY assign LST to TTY
WST $1 and run TTY version of WS
FI