Gives the number of the file that contains the marked block.
Scope: Global
Syntax
query blockdoc
Description
The blockdoc parameter gives the file number (the number of the file in the sequence of open files) of the file containing the current block, or zero, if there is no current block.
Example
To display the file number of the file containing the current block, type:
query blockdoc
API Return Codes
None.
![]()
block Command
docnum Parameter
