home *** CD-ROM | disk | FTP | other *** search
- ;; ZEX command file for adding a filename to a queue of filenames
- ;; in the SH.VAR file. 'QH' is a variable that points to the
- ;; head item in the queue, 'QT' points to the last item. The last
- ;; item always points to the new item. REGister 1 is used as a
- ;; flag to indicate whether anything is already in the queue or not.
- ;; A value of 0 in REG 1 indicates that the queue is empty.
- ;; -RDN
- SH
- IF 1;SHVAR QH $1;GO QT $1;REG S1 1;ELSE;SHVAR %QT $1;GO QT $1;FI
- SHEXIT
- ;; end of ZEX command file