QUERY
QUERY displays the current settings of the editor.
Operands
- CHANGES
- displays the number of modifications to the file since it was last saved.
- CMDLINE
- displays the current setting of the command line. For more information see the Text Editor command CMDLINE.
- COLUMN
- displays the starting column in the file that is displayed on the screen.
- DIR
- displays the directory that is associated with the file.
- FILEID
- displays the name of the file being edited.
- MSGLINE
- displays the current setting of the message line. For more information see the Text Editor command MSGLINE.
- NULLS
- displays the current setting of NULLS. For more information see the Text Editor command NULLS.
- NUMBERS
- displays the current setting of NUMBERS. For more information see the Text Editor command NUMBERS.
- PFKLINE
- displays the current setting of the PFKLINE. For more information see the Text Editor command PFKLINE.
- PFKEY.n
- displays the command that is processed if PFKEY n is pressed. The n is any number from 1 to 24.
- RECORDS
- displays the number of lines in the file.
Return codes
- 0
- Normal return
- 202
- Invalid operand
- 236
- Not defined
Example
'QUERY PFKEY.1'This example displays the command that is processed when PFKEY 1 is pressed.
