h6. [[TerritoryManager]] h6(. » [[Territory SWI Calls|SWI Calls]] h6((. » Territory_Collate h2. Territory_Collate h5. (SWI &4305D) |_<^{width:4em}. Entry | | |<^. R0 |<^. [[Territory Numbers|Territory number]], or -1 for current | |<^. R1 |<^. Pointer to string 1 (null terminated) | |<^. R2 |<^. Pointer to string 1 (null terminated) | |<^. R3 |<^. "Collate Flags":#flags | |_<^{width:4em}. Exit | | |/3<^. R0 |<^. < 0 if string1 < string2 | |<^. = 0 if string1 = string2 | |<^. > 0 if string1 > string2 | |<^. R1 |<^. Preserved | |<^. R2 |<^. Preserved | |<^. R3 |<^. Preserved | h4(#flags). Collate Flags |_<^{width:4em}. Bit |_<^. Meaning when set| |<^. 0 |<^. Ignore case | |<^. 1 |<^. Ignore accents | |<^. 2 - 31 |<^. Reserved, must be zero | h4. Use The purpose of this call is to compare strings in the given territory's alphabet. h4. Notes None. h4. See also * [[Territory Numbers]]