;
                                     SHVAR.COM                                

             Size (recs) CRC   Version    Author/Latest Issue      Disk
               3k (21)   7112  1.3        Howard Goldstein 8/89    Z3COM8

  1- Syntax  2- Notes  3- Examples of Use                                     



   SHVAR can list  all shell variables in the currently defined shell variable
file, or can edit this file to delete or change one variable at a time.  SHVAR
is sometimes  more convenient  than SHDEFINE, which  is  intended  for editing
groups of variables in one sitting.  Original by R. Conn 3/84.
:1


   Syntax   SHVAR            <-- list variables

        or  SHVAR var        <-- delete variable

        or  SHVAR var text   <-- define/redefine variable

   SHVAR may  be used  whether SH is running or not.  If a shell variable file
is already defined to the  ZCPR3 system, SHVAR  uses this file.  If one is not
defined, SHVAR uses SH.VAR (always located in the ROOT directory).
:2

 SHVAR Notes 

   a. Vs 1.1 updates (2/15/87)
      - modified to use the  directory named "ROOT" if  it  exists,  otherwise
        directory at end of path.
      - display of variables now includes definitions, one per line.

   b. Vs 1.2 updates (8/06/89)
      - removed all references to the quiet flag.   Program now  uses  its own
        patchable quiet flag and has a /Q option to toggle it at run time.  
      - no longer rewrites the SH.VAR file when an attempt is made to delete a
        shell variable that does not exist.  
      - cleaned up code and linked with version 4 libraries and new Z3VARLIB.

   c. - Vs 1.3 updates (8/20/89)
      - fixed bug in sort  routine that caused program  or possibly the entire 
        system to crash if the pointer table extened over a page boundary.
      - added test for ctrl-c  abort at  end of screen when listing variables.
:3


 Examples of Use 

   a. SHVAR                       <-- list shell variables

      SHVAR var2                  <-- delete the variable VAR2

      SHVAR varx this is a test   <-- define VARX to "THIS IS A TEST"