Mercurial > octave
comparison scripts/general/display.m @ 21076:b433f9990452
strip trailing whitespace from files
* NEWS, oop.txi, ov.h, dSparse.h, f77-fcn.h, lo-array-gripes.h,
display.m, int2str.m, num2str.m, subsindex.m, fileattrib.m,
parser.tst: Strip trailing whitespace.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 15 Jan 2016 12:46:58 -0500 |
parents | a9ed4104ecfd |
children | dba88797f69f |
comparison
equal
deleted
inserted
replaced
21075:5ed379c8decd | 21076:b433f9990452 |
---|---|
20 ## @deftypefn {} {} display (@var{obj}) | 20 ## @deftypefn {} {} display (@var{obj}) |
21 ## Display the contents of the object @var{obj}. | 21 ## Display the contents of the object @var{obj}. |
22 ## | 22 ## |
23 ## The Octave interpreter calls the @code{display} function whenever it needs | 23 ## The Octave interpreter calls the @code{display} function whenever it needs |
24 ## to present a class on-screen. Typically, this would be a statement which | 24 ## to present a class on-screen. Typically, this would be a statement which |
25 ## does not end in a semicolon to suppress output. For example, | 25 ## does not end in a semicolon to suppress output. For example, |
26 ## | 26 ## |
27 ## @example | 27 ## @example |
28 ## myobj = myclass (@dots{}) | 28 ## myobj = myclass (@dots{}) |
29 ## @end example | 29 ## @end example |
30 ## | 30 ## |
34 ## | 34 ## |
35 ## @example | 35 ## @example |
36 ## myobj = myclass (@dots{}) | 36 ## myobj = myclass (@dots{}) |
37 ## @result{} myobj = <class myclass> | 37 ## @result{} myobj = <class myclass> |
38 ## @end example | 38 ## @end example |
39 ## | 39 ## |
40 ## @seealso{class, subsref, subsasgn} | 40 ## @seealso{class, subsref, subsasgn} |
41 ## @end deftypefn | 41 ## @end deftypefn |
42 | 42 |
43 function display (obj) | 43 function display (obj) |
44 | 44 |