

            type (2) --- return type of character                    03/23/80


            _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n

                 character function type (c)
                 character c

                 Library:  vswtlb (standard Subsystem library)


            _F_u_n_c_t_i_o_n

                 'Type'  returns the type of the character given as its first
                 argument:  LETTER if the character was a  letter,  DIGIT  if
                 the  character  was  a digit, and the character itself if it
                 was anything else.


            _I_m_p_l_e_m_e_n_t_a_t_i_o_n

                 'Type' checks the  type  of  character  by  using  a  Ratfor
                 'select'  statement  listing  all  the letters in one alter-
                 native and all the digits  in  another.   If  the  character
                 falls  within  the  first  range,  LETTER is returned; if it
                 falls within the last range, DIGIT is  returned;  if  it  is
                 outside  of  both,  the  function  return  is  the character
                 itself.

































            type (2)                      - 1 -                      type (2)


