back to Table of Contents


BufToFile (sub)

This subroutine will save the regular data of the given buffer as is into the specified file. Any set markers and find data are not part of the regular data, hence they don't get saved to the file. An existing file with the same name will be overwritten.

The buffer itself remains completely unchanged and in same state regarding the current buffer position, markers, find data and active line endings logic, hence you could easily setup an auto-save via a timer and after save go on working with the buffer.


SYNTAX:

BufToFile buf$(), fileSpec$

INPUTS:

buf$() (STRING array)

fileSpec$ (STRING)


NOTES:


back to Table of Contents