Display (command)

From Br Wiki
Jump to: navigation, search

The Display command shows the value of individual variable(s) or all variables, after any changes, plus the line number associated with the change(s), in the format:

line-number (that caused the change)   variable-name   new-value

Note that whole arrays can be referenced by DISPLAY statements. For example:


This displays all changed values in an array whenever values are changed.

For disambiguation purposes, see also Display Files.


DISPLAY [<-p program name substring>] {[<variable name>]|[ALL]} {[OFF]|[PRINT]|[>[>] <output file>]}


The -p parameter specifies which program or programs the statement pertains to. If not specified, then the full BR path to the current program is stored as the program name search string. However the substring value could be used as a mask to apply to multiple program libraries.

See Also