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

NAME

6       LSAMEN  - if the first N letters of CA are the same as the first N let‐
7       ters 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
22

ARGUMENTS

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