previousbuffer_saved_buffer_storage_.htm
Navigation: ABC Library Reference > FileManager > FileManager Properties >====== PreviousBuffer (saved buffer storage) ====== | |
PreviousBuffer | &STRING, PROTECTED |
The PreviousBuffer property stores the saved buffer to be used in the post dictionary trigger operation methods.
Implementation:
The PreviousBuffer property is stored on every read action performed by the FileManager.FileCallBackInterface.FunctionCalled and FileManager.FileCallBackInterface.FunctionDone methods. See CALLBACK for more information.
See Also: SavePreviousBuffer
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
previousbuffer_saved_buffer_storage_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1