QUERY

Read syntax diagramSkip visual syntax diagram
>>-QUERY--+-CHANGES---+----------------------------------------><
          +-CMDLINE---+   
          +-COLUMN----+   
          +-DIR-------+   
          +-FILEID----+   
          +-MSGLINE---+   
          +-NULLS-----+   
          +-NUMBERS---+   
          +-PFKLINE---+   
          +-PFKEY.--n-+   
          '-RECORDS---'   

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, section 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, section MSGLINE.
NULLS
displays the current setting of NULLS. For more information see the Text Editor command, section NULLS.
NUMBERS
displays the current setting of NUMBERS. For more information see the Text Editor command, section NUMBERS.
PFKLINE
displays the current setting of the PFKLINE. For more information see the Text Editor command, section 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.



rvse532.html | Timestamp icon Last updated: Monday, 5 June 2017