savepreviousbuffer_saved_buffer_storage_.htm
Navigation: ABC Library Reference > FileManager > FileManager Properties >====== SavePreviousBuffer (saved buffer storage) ====== | |
SavePreviousBuffer | BYTE |
The SavePreviousBuffer property alerts the FileManager to store a buffer copy on every read action performed by the FileManager. This is useful in any action where the previous contents of a record must be known for comparision.
Implementation:
The SavePreviousBuffer property is not set by the FileManager, but is a user controlled property.
See Also: PreviousBuffer
Example:
CODE
CASE opCode
OF DriverOp:Add
OROF DriverOp:Append
OROF DriverOp:AddLen
OROF DriverOp:AppendLen
IF SELF.SavePreviousBuffer
IF NOT (SELF.PreviousBuffer &= NULL)
DISPOSE(SELF.PreviousBuffer)
END
SELF.PreviousBuffer &= DupString(SELF.Buffer)
END
savepreviousbuffer_saved_buffer_storage_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1