HP Business BASIC/XL Reference Manual - HP 3000 MPE/iX Computer Systems - Edition 1 (32715-90001)

6- 11
| | numeric expression that is evaluated and rounded to |
| | an integer as required. |
| | |
--------------------------------------------------------------------------------------------
Table 6-9 gives the default margins for different types of destination
devices.
Table 6-9. Default Margins
---------------------------------------------------------------------------------------------
|| | |
| Destination | Default Margin if Margin Was | Default Margin if Margin Was Not |
| Device | Previously Specified for the | Previously Specified for the |
||Device | Device |
|| | |
---------------------------------------------------------------------------------------------
|| | |
| Terminal | Last specified margin. | 80 |
|| | |
---------------------------------------------------------------------------------------------
|| | |
| Line printer | Last specified margin. | 132 |
|| | |
---------------------------------------------------------------------------------------------
|| | |
| Other | 132 | 132 |
|| | |
---------------------------------------------------------------------------------------------
Table 6-10 gives the default output field widths for different types of
destination devices.
Table 6-10. Default Output Field Widths
---------------------------------------------------------------------------------------------
|| | |
| Destination | Default Output Field Width if | Default Output Field Width if |
| Device | Output Field Width Was Previously | Output Field Width Was Not |
||Specified for the Device | Previously Specified for the |
|| |Device |
|| | |
---------------------------------------------------------------------------------------------
|| | |
| Terminal | Last specified output field width. | 20 |
|| | |
---------------------------------------------------------------------------------------------
|| | |
| Line printer | Last specified output field width. | 20 |
|| | |
---------------------------------------------------------------------------------------------
|| | |
| Other | 20 | 20 |
|| | |
---------------------------------------------------------------------------------------------
HP Business BASIC/XL opens an existing ASCII disk file in
append mode
;
new records are appended to the existing records in the file. "Data
Files", later in this chapter, has more information.
If HP Business BASIC/XL tries to append an additional record to an ASCII
disk file for which the end-of-file marker is at the physical end of
file, an error message is displayed on the terminal. Redirect the output
to DISPLAY at that point. A new file can then be specified to accept the
redirected output. If you repeatedly encounter problems with the file
size, use the FILESIZE option to create a larger file.
FORMATTED OUTPUT
This section explains the format specifiers available to produce
formatted output. These are available with the DISP USING, PRINT USING,
and IMAGE Statements. The DISP USING and PRINT USING statements are