HTBasic Help
×
Menu
Index

Example Data Files

 
If you installed the optional LEXICAL ORDER files during installation, in the LEXICAL subdirectory in the HTBasic directory there are several examples of user-defined LEXICAL ORDER IS tables that change both the order rules and the upper/lowercase rules. The files that are included depend on the version of HTBasic. Files for code page 850 have filenames of PC*.LEX. Files for Roman-8 have filenames of R8*.LEX. Files for the out-dated version of Roman-8 used by HP BASIC are stored in files with names HP*.LEX. Files for Latin-1 have filenames of L1*.LEX.
 
The file LEXICAL.BAS contains a SUB named "Lexical" that can be used to load the tables stored in these files. (This SUB is listed earlier in this section.) Line 50 specifies PC*.LEX files stored in the C:\HTB directory, but you may change this line to fit your needs.