

            lsdel (4) --- delete characters from a linked string     03/23/80


            _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n

                 subroutine lsdel (ptr, pos, len)
                 pointer ptr
                 integer pos, len

                 Library:  vlslb


            _F_u_n_c_t_i_o_n

                 Characters  are  deleted  from the string specified by 'ptr'
                 starting  from  position  'pos'  and  continuing  for  'len'
                 characters.   'Len'  may  be  specified  as a huge number to
                 delete all remaining characters in the string.  Even if  all
                 characters  in  the  string  are  deleted,  the pointer that
                 remains in 'ptr' is still  valid  and  points  to  a  string
                 containing EOS.


            _I_m_p_l_e_m_e_n_t_a_t_i_o_n

                 The  string  is  positioned  to position 'pos' with 'lspos'.
                 'Lsfree' is called to free 'len'  characters.   If  'lsfree'
                 returns  0 as a pointer value (meaning it ran past the EOS),
                 EOS is placed is  position  'pos';  otherwise,  the  pointer
                 returned by 'lsfree' is placed in position 'pos'.


            _C_a_l_l_s

                 lsfree, lspos


            _B_u_g_s

                 Locally supported.


            _S_e_e _A_l_s_o

                 lsdrop (4), lssubs (4), lstake (4)
















            lsdel (4)                     - 1 -                     lsdel (4)


