PDA

View Full Version : STRLEN does not work.


compuser1978
03-25-2002, 08:51 PM
the STRLEN does not work.
e.g.
char szBuf[8] = {'R','O','H','I','T','K','L','\0',};
STRLEN(szBuf); returns a 0.

Let me know if this is the right way of doing it.

Thanks in advance.

devi
03-26-2002, 10:37 AM
This code works on the emulator as well as on the Kyocera. STRLEN returns 7.

Devi Krishnan
BREW Support