F_BA_StrCmp2L

The function F_BA_StrCmp2L compares two strings to determine if they are equal. The length parameters can be used to check only a specific section.
Syntax
FUNCTION F_BA_StrCmp2L : BOOL
VAR_INPUT
sValue1 : POINTER TO STRING;
nValue1 : UDINT := 0;
sValue2 : POINTER TO STRING;
nValue2 : UDINT := 0;
END_VAR
Inputs
|
Name |
Type |
Description |
|---|---|---|
|
sValue1 |
POINTER TO STRING |
First string. |
|
nValue1 |
UDINT |
Length of the first string. If the value is 0, it is determined automatically. |
|
sValue2 |
POINTER TO STRING |
Second string. |
|
nValue2 |
UDINT |
Length of the second string. If the value is 0, it is determined automatically. |