

            svdel (2) --- delete a shell variable at the current level  05/27/83


          | _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n

          |      subroutine svdel (name)
          |      character name (ARB)

          |      Library:  vshlib (shell routine library)


          | _F_u_n_c_t_i_o_n

          |      'Svdel'  deletes a shell variable at the current lexic level
          |      of the shell.  'Name' contains the name of the  variable  to
          |      delete.   'Svdel'  cannot  delete  a  variable global to the
          |      current scope.  Changes  to  shell  variables  that  control
          |      values  in  the  SWT common block ("_eof" for example) occur
          |      immediately.  If one of these values is deleted,  the  value
          |      in the common block reverts to the value it contained in the
          |      previous scope.


          | _I_m_p_l_e_m_e_n_t_a_t_i_o_n

          |      If  the  variable does not exist at the current lexic level,
          |      the subroutine returns; otherwise, it deallocates the  space
          |      in the internal variable common block for the name and value
          |      and  then  returns.   If  the  variable is used to control a
          |      location in the SWT  common  block,  the  current  value  is
          |      replaced  by  the  value  it  had when the current scope was
          |      invoked.


          | _A_r_g_u_m_e_n_t_s _M_o_d_i_f_i_e_d

          |      none


          | _S_e_e _A_l_s_o

          |      other sv?* routines (2)



















            svdel (2)                     - 1 -                     svdel (2)


