disp
- : disp
(x)¶ - :
str =disp(x)¶ Show the value of x, without printing a variable name.
For example:
disp ("The value of pi is:"), disp (pi) -| the value of pi is: -| 3.1416The text written by
dispalways finishes with a newline.When a return value is requested,
dispwrites nothing to the screen and hands back the formatted text as a string instead.