Compare (FUN)

FUNCTION Compare : DINT

Returns an integer comparing two strings lexicographically.

The result will be 0 if itfString1 = itfString2, -1 if itfString1 < itfString2, and +1 if itfString1 > itfString2.

InOut:

Scope

Name

Type

Return

Compare

DINT

Input

itfString1

IString

itfString2

IString

Output

eErrorID

ERROR