Contents | Prev | Next

7.2.40 The locase function

Description

The locase function returns the lowercase letter corresponding to the parameter passed to it. NOTE: If there is no lowercase letter corresponding to the parameter passed to it then the parameter is returned unchanged. The type of the value returned by this function is always char.

Parameter

The locase function's only parameter is an expression of char type.

Example

    locase('a')  returns  'a'
    locase('A')  returns  'a'
    locase('H')  returns  'h'
    locase('1')  returns  '1'
    locase('+')  returns  '+'
    locase('_')  returns  '_'

Portability

Operating Systems: All
Standard Pascal: No

Contents | Prev | Next