<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Mon, 07 May 1984 10:48:20 EDT
From   : Rick Conn <rconn@Brl-Mis.ARPA>
Subject: Re: SYNONYM art. in Microsystems

Under Z3, the ALIAS program does the same thing (basically) with the
added ability of parameter passing and flow control (if implemented
under Z3).  For instance, an ALIAS can be defined like this:

<< ALIAS to run two different versions of WordStar from one command >>

IF NEC=$2
       DEV L NEC               Assign NEC printer for I/O
       WSN $1                  Run Wordstar installed for NEC
ELSE
       DEV L TTY               Assign regular printer for I/O
       WS $1                   Run Wordstar installed for reg printer
FI


If the ALIAS is named WSTAR, then the command:

       WSTAR myfile.txt        will run WS for regular printr
and
       WSTAR myfile.txt NEC    will run WS for NEC printer


       Rick
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>