PRINT BUFFER buf1 [; [buf2] [; ...] ... ] PRINT BUFFER RAW buf1 [; [buf2] [; ...] ... ] PRINT BUFFER [expression]{;|,[expression]|;[expression]} ...
This is a specific variant of PRINT
that can be used to print large amount of text.
The PRINT BUFFER
instruction does not have the limits of PRINT
strings,
and is able to print any file that have been loaded. An item or a list of items
can follow the command. The list of items can consist of any group of buffers.
Each element in the list must be separated by either a semi-colon ;
or a comma ,
.
A semi-colon prints the data immediately after the previous value, whereas a comma first
moves the cursor to the next TAB
position on the screen.
Normally the cursor will be advanced downwards by a single line after each PRINT BUFFER
instruction. This can be suppressed by adding a separator after the print. As before, a semicolon
will preserve the cursor position after the operation, and a comma will place the
cursor to the next TAB
stop before proceeding.
Finally, it is possible to omit the native conversion of the buffer storage system, if you want
to print “as is”. In that case you need to use the RAW
keyword.
PRINT BUFFER description PRINT BUFFER RAW descriptionRaw file := load("example.txt") PRINT BUFFER file
See also the following example files:
? Bf
If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!