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)