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