Compaq BASIC Translator
User Manual


Previous Contents Index

A.4 Severe Messages

Severe messages indicate a Translator limitation or problem that prevents the Translator from completing the translation of the input program.
MAXCONCOM Maximum conditional compilation depth exceeded
PROSTRNES Program structures nested too deeply
USERABORT User ABORT directive
<recto_head>(cancel_h) <verso_head>(cancel_h)


Appendix B
Run-Time Library Kit

This appendix describes the files that the run-time library kit contains. The kit must be installed on each Windows system that is running a translated application. The run-time library kit is made up of the following three files:


Appendix C
Supported Terminal Emulator Functions

The terminal emulator supplied with the RTL kit supports a subset of the VT100 terminal command set. The supported functions are as follows:


CONTROL CHARACTERS
 
Mnemonic (Hex ASCII value)      Function 
--------------------------      ---------------------------------------------- 
NUL      (0x00)                 Ignored 
BEL      (0x07)                 Sounds a bell tone 
LF       (0x0A)                 Moves cursor down one line or performs a CR 
                                if new line mode is enabled 
VT       (0x0B)                 Same as LF 
FF       (0x0C)                 Same as LF 
CR       (0x0D)                 Moves cursor to the beginning of the line 
DC1      (0x11)                 XON 
DC3      (0x13)                 XOFF 
CAN      (0x18)                 Cancels an escape sequence in progress 
SUB      (0x19)                 Same as CAN 
ESC      (0x1B)                 Begins an escape sequence 
DEL      (0x1C)                 Ignored 
 
CURSOR CONTROL
 
Name                            Sequence 
--------------------------      ---------------------------------------------- 
Cursor Mode                     ESC [ ? 25 h (on) ESC [ ? 25 l (off) 
Cursor Up                       ESC [ Pn A (Pn lines up) 
Cursor Down                     ESC [ Pn B (Pn lines down) 
Cursor Right                    ESC [ Pn C (Pn columns right) 
Cursor Left                     ESC [ Pn D (Pn columns left) 
Direct Cursor Address           ESC [ Pl ; Pc f  or  ESC [ Pl ; Pc H 
                                (Line Pl, column Pc) 
Cursor State                    ESC [ 7 (Save)  and  ESC [ 8 (Restore) 


EDITING FUNCTIONS
 
Name                            Sequence 
--------------------------      ---------------------------------------------- 
Erase to End-of-Line            ESC [ 0 K 
Erase to Start-of-Line          ESC [ 1 K 
Erase Line                      ESC [ 2 K 
Erase to End-of-Screen          ESC [ 0 J 
Erase to Start-of-Screen        ESC [ 1 J 
Erase Screen                    ESC [ 2 J 
 
TABS
 
Name                            Sequence 
--------------------------      ---------------------------------------------- 
Set Tab at Current Column       ESC H 
Clear Tab at Current Col.       ESC [ g  or  ESC [ 0 g 
Clear All Tabs                  ESC [ 3 g 
 
TEXT ATTRIBUTES
 
Name                            Sequence 
--------------------------      ---------------------------------------------- 
Select Attributes               ESC [ Ps ... Ps m 
                                (Where Ps is: 
 
                                        All attributes off - 0 
                                        Bold               - 1 
                                        Underline          - 4) 
 
REPORTS
 
Name                            Sequence 
--------------------------      ---------------------------------------------- 
Cursor Position Report          ESC [ 6 n (Returns ESC [ Pl ; Pc R) 
                                (Line Pl, column Pc) 
Terminal Type Request           ESC [ c  or  ESC [ O c 
                                Returns ESC [ ? 1 ; 0 C (base VT100) 
Status Report                   ESC [ 5 n (Returns ESC [ 0 n) 
 
MISCELLANEOUS
 
Name                            Sequence 
--------------------------      ---------------------------------------------- 
Autowrap                        ESC [ ? 7 h (On)  and  ESC [ ? 7 l (Off) 


Index Contents