print
The command print
is used to display the current values of Malaga
variables or named constants, or parts of them. You can specify any
variable or constant names (including the `$' or `@') as
arguments to this command; you can also specify a path of attributes
and/or indexes (with suffix `L' or `R') behind each of the
variable or constant names. In that case, only the values of the
specified paths are displayed:
debug> print $word $word = [class: pronoun, result: S2] debug> print $word.class $word.class = pronoun debug> print @plan.1L.name $plan.1L = declarative debug> |
If the option use-display
is on and malshow
is used as
display-cmd
, the expressions will be displayed in window on
their own. If the Expressions
window is not open yet, it will
open now. If there is an open Expressions
window, the new
expressions and their values will be displayed in this window.
You can left-click on an expression to make its value disappear or appear again. You can middle-click or right-click on an expression to erase it.
The Expressions
window has a menu with some commands:
Window
Export Postscript...
Close
Expressions
window.
Style
Font Size ...
Hanging
Expressions
Clear All
Show All
Hide All