

            scopy (2) --- copy one string to another                 02/25/83


            _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n

                 integer function scopy (from, i, to, j)
                 character from (ARB), to (ARB)
                 integer i, j

                 Library:  vswtlb (standard Subsystem library)


            _F_u_n_c_t_i_o_n

                 'Scopy'  copies  a  string  from  one place to another.  The
                 source string begins at the 'i'th character of  'from',  and
                 extends  to  an  EOS;  the  destination string begins at the
                 'j'th character of the string 'to'.  Copying takes place  by
                 character-by-character transfer until an EOS is encountered;
                 the  EOS  is transferred to the receiving string also.  When
                 it  finishes,  'scopy'  returns  the  number  of  characters
                 copied, excluding the trailing EOS.


            _I_m_p_l_e_m_e_n_t_a_t_i_o_n

                 A  simple  loop  copies  characters  from  one string to the
                 other, until an EOS is seen.


            _A_r_g_u_m_e_n_t_s _M_o_d_i_f_i_e_d

                 to




























            scopy (2)                     - 1 -                     scopy (2)


