1LSAMEN(1)           LAPACK auxiliary routine (version 3.2)           LSAMEN(1)
2
3
4

NAME

6       LSAMEN - tests if the first N letters of CA are the same as the first N
7       letters of CB, regardless of case
8

SYNOPSIS

10       LOGICAL FUNCTION LSAMEN( N, CA, CB )
11
12           CHARACTER*(  * ) CA, CB
13
14           INTEGER      N
15

PURPOSE

17       LSAMEN  tests if the first N letters of CA are the same as the first  N
18       letters  of CB, regardless of case.  LSAMEN returns .TRUE. if CA and CB
19       are equivalent except for case  and  .FALSE.  otherwise.   LSAMEN  also
20       returns .FALSE. if LEN( CA ) or LEN( CB ) is less than N.
21

ARGUMENTS

23       N       (input) INTEGER
24               The number of characters in CA and CB to be compared.
25
26       CA      (input) CHARACTER*(*)
27               CB       (input)  CHARACTER*(*) CA and CB specify two character
28               strings of length at least N.  Only the first N  characters  of
29               each string will be accessed.
30
31
32
33 LAPACK auxiliary routine (versionNo3v.e2m)ber 2008                       LSAMEN(1)
Impressum