Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
Reality V15.0 ()
F-CLEAR command (Proc) (m618403+fclear.htm)
Clears a specified file buffer.
F-CLEAR file-buffer-number
F-C file-buffer-number
file-buffer-number
is the number of the file buffer to be cleared. Valid numbers are 1 to 47, but
note that 19 and 20 are reserved for system Procs.
file-buffer-number can be a direct or indirect file buffer reference.
The F-CLEAR command clears the specified file buffer.
The F-CLEAR command should be used prior to building a record in a file buffer. This guarantees that the file buffer is empty prior to its use.
The Proc processor does not allow a reference to a file buffer unless the file has been cleared or opened.
You do not need to use an F-CLEAR command prior to using an F-OPEN command. The F-OPEN command also clears the specified file buffer.
001 PQN 002 F-CLEAR 1 003 MV &1.1 "data....." 004 MV &1.2 %1 . . .
This example clears file buffer 1 prior to building a new record.