StrLenA (FUN)ΒΆ

FUNCTION StrLenA : UDINT

This function determines the length of a string by searching for a terminating zero character. The function will do its work either with native IEC-Strings or with strings coming from external functions. It will return 0 and eError = ERROR.INVALID_PARAMETER if the given pointer to String is equal NULL

InOut:

Scope

Name

Type

Comment

Return

StrLenA

UDINT

Input

pstData

CharBufferPtr

simply a pointer to byte

Output

eError

ERROR