back to Table of Contents


WriteBufLine (sub)

This subroutine will write the given text into the specified buffer starting at the current buffer position and will automatically add the line break char(s) (according to the active line endings logic of the buffer). The operation is in that very similar to PRINT when writing to text files.

The call will also recalculate all markers to maintain its respective positions. The current buffer position is updated accordingly and is on the first byte behind the just written line break (ie. at the start of the next line) after the call. Hence, sequential writing is easily possible with subsequent calls.


SYNTAX:

WriteBufLine buf$(), text$

INPUTS:

buf$() (STRING array)

text$ (STRING)


NOTES:


back to Table of Contents