Tests two characters for equality regardless of the case.
Fortran:
val = lsame( ca, cb )
C:
val = lsame( ca, cb );
The FORTRAN 77 interface for this routine is specified in mkl_blas.fi include file and the C interface is specified in the mkl_blas.h include file.
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.
Copyright © 1994 - 2011, Intel Corporation. All rights reserved.