Displays a value as text in a pop-up box.
DISP(val)
val |
- |
A string, series or scalar. The value to display. Defaults to the current window. |
A string if the result is assigned to a variable, else a pop-up box is displayed.
disp("hi")
displays 'hi' in a pop-up box.
disp(pi/2)
displays 1.570796 in a pop-up box.
W1: rand(10)
disp(W1)
displays the values of the 10x10 random array in a pop-up box.
t = disp(rand(3));
viewtext(t)
Variable t contains the values of the 3x3 random matrix as a table of text values. The values are displayed by the VIEWTEXT function.
DISP converts the input parameter to a string and displays the result in a pop-up box. If the result is assigned to a variable, the values of a series or array or converted to a text table.
See ECHO to display the input in the status line.