HTBasic Help
×
Menu
Index

CONFIGURE CREATE "HP"

CONFIGURE CREATE specifies the kind of file header ("HP" or "HTB") to use when creating a typed file (LIF ASCII or BDAT). HTBasic can always use files with either header, regardless of the setting of CONFIGURE CREATE. The setting affects file creation only. A CAT listing in SRM format shows the kind of file header of each file in the System Type column.
 
Use HP LIF headers if you wish to create data files that are simultaneously accessed over a network by HTBasic and HP BASIC. To specify HP LIF headers, use:
 
CONFIGURE CREATE "HP" 
 
By default, HTBasic creates HTBasic file headers, since they are two or three times smaller than HP LIF headers. BDAT files with HTB headers can also be created with data in either LSB or MSB byte ordering (see CONFIGURE BDAT). File operations are much faster when the byte ordering of the file matches the byte ordering of the computer. Files with HTB file headers, when copied with HPCOPY, are completely compatible with HP BASIC. Example:
 
CONFIGURE CREATE "HTB"