CallbackOpen (FUN) ¶ FUNCTION CallbackOpen : CallbackHandle InOut: Scope Name Type Return CallbackOpen CallbackHandle Input dwEventID DWORD dwIDProvider DWORD itfCB ICmpEventCallback
CmpAlphabeticallyCI (FUN) ¶ FUNCTION CmpAlphabeticallyCI : INT Helper function for CmpInstancePaths: compares two strings alphabetically, ignoring case. See ASCII_to_SortIdx for the exact sorting order of all ASCII characters. Returns a value > 0 if identifier 1 comes after identifier 2, 0 if they are equal, and a value < 0 if identifier 1 comes before identifier 2. InOut: Scope Name Type Return CmpAlphabeticallyCI INT Input pSt1 POINTER TO BYTE udiLen1 UDINT pSt2 POINTER TO BYTE udiLen2 UDINT
CmpArrayAccess (FUN) ¶ FUNCTION CmpArrayAccess : INT Helper function for CmpInstancePaths: compares two array accesses. Returns a value > 0 if access 1 comes after access 2, 0 if they are equal, and a value < 0 if access 1 comes before access 2. InOut: Scope Name Type Return CmpArrayAccess INT Input pSt1 POINTER TO BYTE udiLen1 UDINT pSt2 POINTER TO BYTE udiLen2 UDINT
CmpInstanceComponent (FUN) ¶ FUNCTION CmpInstanceComponent : INT Helper function for CmpInstancePaths: compares two components of instance paths. Returns a value > 0 if component 1 comes after component 2, 0 if they are equal, and a value < 0 if component 1 comes before component 2. InOut: Scope Name Type Return CmpInstanceComponent INT Input pCmp1 POINTER TO BYTE udiLen1 UDINT pCmp2 POINTER TO BYTE udiLen2 UDINT
CmpInstancePaths (FUN) ¶ FUNCTION CmpInstancePaths : INT Compares two zero-terminated isntance paths according to the rules in FS_Application_Composer_Persistenz.doc, R19: Identifiers are sorted alphabetically, ignoring case Array accesses are sorted lexicographically by their index values Array accesses come before identifiers Returns a value > 0 if path 1 comes after path 2, 0 if they are equal, and a value < 0 if path 1 comes before path 2. InOut: Scope Name Type Comment Return CmpInstancePaths INT Input p1 POINTER TO BYTE First instance path (zero terminated) p2 POINTER TO BYTE Second instance path (zero terminated)
Compress (FUN) ¶ FUNCTION Compress : BOOL InOut: Scope Name Type Return Compress BOOL Input pbyCompressed POINTER TO BYTE pbyBase POINTER TO BYTE pbyName POINTER TO BYTE uiMaxSize UINT
IsEnglishLanguageCode (FUN) ¶ FUNCTION IsEnglishLanguageCode : BOOL InOut: Scope Name Type Return IsEnglishLanguageCode BOOL Input psLanguage POINTER TO STRING
ParseArrayAccess (FUN) ¶ FUNCTION ParseArrayAccess : UDINT Helper function for CmpArrayAccess InOut: Scope Name Type Return ParseArrayAccess UDINT Input pSt POINTER TO BYTE udiLen UDINT Inout a ARRAY [0..9] OF DINT
StartsWithCI (FUN) ¶ FUNCTION StartsWithCI : BOOL Returns if the string pS starts with the string pPrefix, ignoring case. InOut: Scope Name Type Comment Return StartsWithCI BOOL Input pS POINTER TO BYTE The string to test for a prefix udiLenS UDINT The length og pS pPrefix POINTER TO BYTE The prefix to test for udiLenPrefix UDINT The length of the prefix
StrCmpAlphabeticallyCI (FUN) ¶ FUNCTION StrCmpAlphabeticallyCI : INT Helper function for CmpInstancePaths: compares two strings alphabetically, ignoring case. See ASCII_to_SortIdx for the exact sorting order of all ASCII characters. Returns a value > 0 if identifier 1 comes after identifier 2, 0 if they are equal, and a value < 0 if identifier 1 comes before identifier 2. InOut: Scope Name Type Return StrCmpAlphabeticallyCI INT Input st1 STRING(512) st2 STRING(512)