

            mapdn (2) --- fold character to lower case               03/23/80


            _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n

                 character function mapdn (c)
                 character c

                 Library:  vswtlb (standard Subsystem library)


            _F_u_n_c_t_i_o_n

                 'Mapdn'  determines if the character passed as its parameter
                 is an upper case letter or not.  If not, the function return
                 is equal to the character; otherwise, the function return is
                 the value of the character mapped to lower case.


            _I_m_p_l_e_m_e_n_t_a_t_i_o_n

                 'Mapdn' expects all upper case letters to be contiguous  and
                 arranged  in  a  collating  sequence  with capital A low and
                 capital   Z   high   (internal   ASCII    satisfies    these
                 requirements).  If the character lies between 'A'c and 'Z'c,
                 it is mapped to lower case by adding 'a'c - 'A'c.  The func-
                 tion  return  is  the  mapped  value.  The parameter is left
                 unchanged.


            _B_u_g_s

                 Depends heavily on ASCII character  code,  in  exchange  for
                 speed.


            _S_e_e _A_l_s_o

                 mapup (2), mapstr (2)






















            mapdn (2)                     - 1 -                     mapdn (2)


