User Tools

Site Tools


savepreviousbuffer_saved_buffer_storage_.htm
Navigation:  ABC Library Reference > FileManager > FileManager Properties >====== SavePreviousBuffer (saved buffer storage) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page
SavePreviousBuffer BYTE

blk2blue.jpg

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