

            delete (2) --- remove a symbol from a symbol table       03/25/82


            _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n

                 subroutine delete (symbol, table)
                 character symbol (ARB)
                 pointer table

                 Library:  vswtlb (standard Subsystem library)


            _F_u_n_c_t_i_o_n

                 'Delete'  removes  the  character-string symbol given as its
                 first argument from the symbol table  given  as  its  second
                 argument.   All  information  associated  with the symbol is
                 lost.

                 The symbol table specified must have been generated  by  the
                 routine 'mktabl'.

                 If  the  given  symbol  is  not present in the symbol table,
                 'delete' does nothing; this condition is not  considered  an
                 error.


            _I_m_p_l_e_m_e_n_t_a_t_i_o_n

                 'Delete'  calls  'st$lu'  to  determine  the location of the
                 given symbol in the symbol table.  If present, it is  unlin-
                 ked   from  its  hash  chain.   The  dynamic  storage  space
                 allocated to the symbol's node is returned to the system  by
                 a call to 'dsfree'.


            _C_a_l_l_s

                 st$lu, dsfree


            _S_e_e _A_l_s_o

                 enter  (2),  lookup  (2), mktabl (2), rmtabl (2), st$lu (6),
                 dsget (2), dsfree (2), dsinit (2), sctabl (2)
















            delete (2)                    - 1 -                    delete (2)


