Use the list command to list lines in the current file. The source window is repositioned. The command also affects the scope that Prism uses for resolving names. By default, the lines are displayed in the command window.
With no arguments, list lists the next 10 lines starting with the current line.
If you specify line numbers, the lines are listed from the first line number through the second.
If you specify a procedure or function, list lists 10 lines starting with the first statement in the procedure or function.
In commands-only Prism, list changes the current source line (but not the current execution line) to the last line displayed or updates the current line pointer in the source display. Subsequent list commands (or search commands, for further information, see "/, ?") begin from the new current line.
In graphic Prism, the current source line is indicated by a dash (-), and the current execution line is indicated by an angle bracket (>). If the current source line is the same as the current execution line, that line is indicated by an asterisk (*).
You can use the default alias l for this command.
Because the scope pointer may be modified by this command, subsequent expression evaluation uses the resulting scope pointer for symbol resolution.