Mercurial > hg > octave-lyh
diff scripts/java/listdlg.m @ 15806:01d4f742d75d
doc: Re-organize and improve Java Interface documentation.
* doc/interpreter/java.txi: Add usejava, isjava functions, debug_java,
java_matrix_autoconversion, java_unsigned_autoconversion to docs.
Re-organize to put functions in logical order. Add new "Dialog Box Functions"
node.
* doc/interpreter/system.txi: Remove usejava from list of system functions.
* libinterp/octave-value/ov-java.cc(FjavaObject, FjavaMethod,
Fjava_unsigned_autoconversion): Improve docstrings.
* scripts/java/javaArray.m: Tweak docstring.
* scripts/java/listdlg.m: Wrap long lines in docstring. Improve
code example in docstring.
author | Rik <rik@octave.org> |
---|---|
date | Mon, 17 Dec 2012 10:23:43 -0800 |
parents | 921912c92102 |
children | 801297f14e4b |
line wrap: on
line diff
--- a/scripts/java/listdlg.m +++ b/scripts/java/listdlg.m @@ -64,10 +64,10 @@ ## ## @example ## @group -## [sel, ok] = listdlg ("ListString", @{"An item", "another", "yet another"@}, "SelectionMode", "Multiple" ); +## [sel, ok] = listdlg ("ListString", @{"An item", "another", "yet another"@}, +## "SelectionMode", "Multiple"); ## if (ok == 1) -## imax = numel (sel); -## for i = 1:1:imax +## for i = 1:numel (sel) ## disp (sel(i)); ## endfor ## endif