Mercurial > hg > octave-lyh
comparison scripts/ui/helpdlg.m @ 16933:e39f00a32dc7
maint: Use parentheses around condition for switch(),while(),if() statements.
* libinterp/corefcn/dirfns.cc, libinterp/octave-value/ov-fcn-handle.cc,
liboctave/array/Sparse.cc, scripts/image/rgb2ind.m, scripts/io/importdata.m,
scripts/io/strread.m, scripts/optimization/fminbnd.m,
scripts/optimization/sqp.m, scripts/plot/graphics_toolkit.m,
scripts/plot/hdl2struct.m, scripts/plot/legend.m, scripts/plot/print.m,
scripts/plot/printd.m, scripts/plot/private/__contour__.m,
scripts/plot/private/__go_draw_axes__.m, scripts/plot/struct2hdl.m,
scripts/polynomial/polyeig.m, scripts/sparse/bicg.m, scripts/specfun/ellipke.m,
scripts/special-matrix/gallery.m, scripts/ui/errordlg.m, scripts/ui/helpdlg.m,
scripts/ui/inputdlg.m, scripts/ui/listdlg.m, scripts/ui/questdlg.m,
scripts/ui/warndlg.m: Use parentheses around condition for
switch(),while(),if() statements.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 09 Jul 2013 14:04:05 -0700 |
parents | 6ae555fc8c43 |
children | bc924baa2c4e |
comparison
equal
deleted
inserted
replaced
16932:c55df4e5e216 | 16933:e39f00a32dc7 |
---|---|
38 | 38 |
39 retval = message_dialog ("helpdlg", msg, title, "help"); | 39 retval = message_dialog ("helpdlg", msg, title, "help"); |
40 | 40 |
41 endfunction | 41 endfunction |
42 | 42 |
43 %!demo | |
44 %! disp('- test helpdlg with a help message only.'); | |
45 %! helpdlg("Below, you should see 3 lines:\nline #1\nline #2, and\nline #3."); | |
46 | 43 |
47 %!demo | 44 %!demo |
48 %! disp('- test helpdlg with help message and caption.'); | 45 %! disp ('- test helpdlg with a help message only.'); |
49 %! helpdlg('You should see a single line.','A help dialog'); | 46 %! helpdlg ("Below, you should see 3 lines:\nline #1\nline #2, and\nline #3."); |
47 | |
48 %!demo | |
49 %! disp ('- test helpdlg with help message and caption.'); | |
50 %! helpdlg ('You should see a single line.','A help dialog'); | |
51 |