Migrating from HP BASIC

 
This section presents transferring programs and data files between HP BASIC and HTBasic and details the differences between HP BASIC and HTBasic. It discusses HTBasic file types, remote access across networks or serial link, files created by other computers, hardware and keyword differences, and the LIF diskette file transfer utilities.
 
If you are transferring programs from HP 9000 Series 200/300 computers to HTBasic, you should read this entire section. Differences in hardware, file system and keywords are discussed.
 
HTBasic is compatible with Hewlett-Packard’s 9000 Series 200/300 "Rocky Mountain" BASIC, and runs on a variety of hardware platforms - without the need for a coprocessor board. It includes most of the language features defined in the HP 6.2 LOADable BIN files.
 
HTBasic is not compatible with Series 80 or 9835/9845 BASIC. But there are translator programs available from third parties to translate from other BASICs to Rocky Mountain BASIC and to transfer files among different systems.
To transfer BASIC programs between HTBasic and RMB use SAVE/GET. Prog files cannot be directly shared between HTBasic & RMB.
 
Operations which cause an error may not produce exactly the same error number as RMB.  For example, if an out-of-range value is passed to an INTEGER parameter, one platform might report error 19 (value out of range) and the other platform might report error 20 (integer overflow).
 
The destination of an ON...CALL statement can be deleted in HTBasic.  In RMB, attempts to delete such SUBs cause an error.
 
When doing a CAT TO S$(*), the first array element has the text "DIRECTORY:" before the actual directory name.