IsHexBinary

IsHexBinary 1:

This method checks whether the transferred string consists of hexadecimal values. If that is the case, the method returns TRUE, otherwise it returns FALSE.

Syntax

METHOD IsHexBinary : BOOL
VAR_IN_OUT CONSTANT
  sHex : STRING;
END_VAR

IsHexBinary 2: Return value

Name

Type

IsHexBinary

BOOL

IsHexBinary 3:/IsHexBinary 4: Inputs/Outputs

Name

Type

sHex

STRING

Sample call:

bSuccess := fbJson.IsHexBinary('ABCEF93A');