Gives end position of block.
Scope: Global
Syntax
query blockend
Description
The blockend parameter gives the end position of the current block. If no block is set, or if a line block is set, zero is returned. The value returned depends on the type of block set:
Block Type Value Returned Line Returns zero. You may want to use the blocktype parameter to determine if a line block was set. Character Returns the position of the last marked character in the last line in the last block. Rectangular Returns the position of the last marked character in each marked line.
Example
To display the end position of the current block, type:
query blockend
API Return Codes
None.
![]()
blockstart Parameter
blocktype Parameter
