back to Table of Contents


BufInsertBuf (sub)

This subroutine will insert the entire regular contents of the given source buffer into the specified destination buffer starting at the current buffer (cursor) position of the destination buffer. Any set markers and find data are not part of the regular data, hence they are not transferred over to the destination buffer.

The call will also recalculate all markers of the specified destination buffer to maintain its respective positions. The current buffer position is updated accordingly and is on the first byte behind the inserted data after the call.

The source buffer itself remains completely unchanged and in same state regarding the current buffer position, markers, find data and active line endings logic, hence you can simply go on working with the source buffer.


SYNTAX:

BufInsertBuf buf$(), fromBuf$()

INPUTS:

buf$() (STRING array)

fromBuf$() (STRING array)


NOTES:


back to Table of Contents