The lexical order rules provided with HTBasic are sufficient for most uses. But if needed, you may define your own rules. The lexical order of each character may be specified. Also, because the lexical order of some languages treat some letters as if they were two, treat some two-letter combinations as if they were one, and ignore some letters, you may define certain special cases to handle these situations. User-defined lexical rules are stored in an array and are activated with the statement:
LEXICAL ORDER IS Array(*)
When user-defined rules are in effect, SYSTEM$("LEXICAL ORDER IS") returns "USER DEFINED".