HTBasic Help
×
Menu
Index

LEXICAL ORDER Tables

 
The following pages contain LEXICAL ORDER tables for FRENCH, GERMAN, SPANISH and SWEDISH. Different tables are presented for code page 850, Roman-8 and Latin-1 character sets. No tables are given for ASCII because when the LEXICAL ORDER IS ASCII, regardless of the character set the order number is the same as the NUM of each character.
 
For code page 850 and the Latin-1 character sets, the order number for each character was chosen according to the following guidelines: If the character existed in the Roman-8 character set, it is given the same order number it had under HP BASIC. New alphabetic characters were added in alphabetical order. New symbol characters were added after CHR$(127) and given sequentially increasing order numbers.
 
The order numbers for Roman-8 differ slightly than those in HP BASIC. This is because several characters have been added to Roman-8 since HP BASIC was created. The new characters are 177, 178 and 242 to 245.
 
Each table contains the Order number, the NUM, and the CHR$ for each character. If the character is ignored during comparisons, the order will be blank. For two-character combinations that have a single order number, the two characters are given in the Chr$ column, but no Num is listed. For characters that are expanded into two characters, the two characters are listed in the Order column. If the original character is uppercase, two expansions are listed. Remember that two order numbers are produced, not just one. If the character has a sub-order number, it is given following a decimal point in the Order column.