file control block

file control block


file-locks Index Level file-defining item
Syntax
Category Definitions
Type Definition
Description defines a file control block.

Every file on the system has a special frame (or frames) attached to it called a "file control block" or "fcb".  These frames contain information about the file, including index pointers and their compiled a (algebraic) processing codes, the file "d-pointer" information for editing, pointers and workspace used by the system when calling FlashBASIC subroutines from file dictionaries.

Also contained in this "file control block" are important flags and fields indicating that the file is open, closed, in the process of being deleted, etc.  This provides the ability to protect the system from potentially disastrous situations, such as the case of one process deleting a file while another process is using the same file.
Options
See Also move-file clear-file OPEN fcb file-of-files steal-file COMMON list-file-stats file-save CLOSE account-save delete-file save file-defining item
Example
Warnings
Compatibility D3 7.0 AP
file-locks Index Level file-defining item