

            first$ (6) --- check for first call                      02/24/82


            _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n

                 integer function first$ (flag)
                 integer flag

                 Library: vswtlb (standard Subsystem library)


            _F_u_n_c_t_i_o_n

                 'First$'  checks to see if this is the first call to itself.
                 If it is being called for the first time,  then  it  returns
                 YES;  otherwise, it returns NO.  'Flag' is set to the return
                 value, in either case.

                 'First$' is used by the 'swt'  command  to  prevent  further
                 calls to itself when a previous invocation is still active.


            _I_m_p_l_e_m_e_n_t_a_t_i_o_n

                 'First$'   checks   the   Subsystem   common  area  variable
                 'first_use' to see if it contains a  special  value;  if  it
                 doesn't,  then  a  YES is returned and this special value is
                 set.  If it finds the special value, then it returns NO.


            _A_r_g_u_m_e_n_t_s _M_o_d_i_f_i_e_d

                 flag




























            first$ (6)                    - 1 -                    first$ (6)


