HTBasic Help
×
Menu
Index

LOAD BIN

Loads a BIN system program file into memory.
 
 LOAD BIN "bin-name [;options] "
 
Usage:
LOAD BIN "GPIBN;BOARD AT-GPIB"
LOAD BIN "SERIAL"
 
Example:           LOAD BIN.BAS
 
Description:
The LOAD BIN statement loads a BIN system file into memory. BIN files implement HTBasic extensions, such as device drivers. Up to 16 I/O drivers may be loaded. The following three locations are searched for the file, in the order given:
 
1. The directory specified by the HTB environment variable, if an HTB environment variable exists.
2. The current directory.
3. The directory containing the HTBasic executable.
 
Some BIN files allow options to be specified. The legal options are different for each device driver; consult the device driver documentation to determine the legal options. Documentation for the standard device drivers included with HTBasic can be found in the Getting Started Guide. Documentation for separately available device drivers comes with the driver.
 
If an error occurs while loading a device driver, it will not be loaded. Often, when an error is detected, more explicit diagnostic information can be obtained by pressing the PRT ALL key to turn print-all mode on (see PRINTALL IS) and retrying the statement LOAD BIN.
 
Under HTBasic, STORE SYSTEM is not an alternative; you must use LOAD BIN.
 

Usage Notes

The search locations for the windows version are:
1. The directory from which the application loaded.
2. The current directory.
3. The Windows system directory (such as \WINNT\SYSTEM32).
4. The Windows directory.
5. The directories listed in the PATH environment variable.
 
See Also: