disp

disp — displays variables

Calling sequence

disp(x1,[x2,...xn])   

Description

displays xi with the current format. xi's are arbitrary objects (matrices of constants, strings, functions, lists, ...)

Display of objects defined by tlist may be overloaded by the definition of a function. This function must have no output argument a single input argument ant it's name is formed as follow %<tlist_type>_p where %<tlist_type> stands for the first entry of the tlist type component.

Examples



disp([1 2],3)
deff('[]=%t_p(l)','disp(l(3),l(2))')
disp(tlist('t',1,2))
 
  

See also

write, read, print, string, tlist