Tests two characters for equality regardless of the case.
FORTRAN:
val = lsame( ca, cb )
C:
val = lsame( ca, cb );
Name |
Type |
Description |
---|---|---|
ca, cb |
FORTRAN: CHARACTER*1 C: const char* |
FORTRAN: The single characters to be compared C: Pointers to the single characters to be compared |
Name |
Type |
Description |
---|---|---|
val |
FORTRAN: LOGICAL C: int |
Result of the comparison |
This logical function returns .TRUE. if ca is the same letter as cb regardless of the case, and .FALSE. otherwise.