Skip to main content

F-DELETE

Deletes the file buffer oref.

Synopsis

F-DELETE fb
F-D fb

Arguments

fb An integer specifying the file buffer. Available values are 1 through 9.

Description

The F-DELETE PROC command deletes the current record. It does this by deleting the object reference (oref) for the record contained in the file buffer. The file must have been opened using the F-OPEN command, which assigned it a numbered fb file buffer. F-DELETE does not change the contents of the file buffer.

F-DELETE is a PQN command.

Example

The following example show the F-DELETE command. It writes a record to the file buffer, then deletes the record value:

PQN
F-OPEN 7 VOC
MV %7 "MyData"
F-WRITE 7
F-DELETE 7

See Also

FeedbackOpens in a new tab