Mercurial > hg > octave-lyh
comparison scripts/ui/msgbox.m @ 17345:a31b54b5f84a
Use only 1 space between '%!' and start of test/demo code.
* libinterp/corefcn/besselj.cc, scripts/miscellaneous/private/__xzip__.m,
scripts/statistics/tests/kolmogorov_smirnov_test.m, scripts/ui/msgbox.m,
test/global.tst, test/jit.tst: Use only 1 space between '%!' and start of
test/demo code.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 28 Aug 2013 08:29:38 -0700 |
parents | bc924baa2c4e |
children |
comparison
equal
deleted
inserted
replaced
17344:b81b9d079515 | 17345:a31b54b5f84a |
---|---|
43 | 43 |
44 retval = message_dialog ("msgbox", msg, title, varargin{:}); | 44 retval = message_dialog ("msgbox", msg, title, varargin{:}); |
45 | 45 |
46 endfunction | 46 endfunction |
47 | 47 |
48 %!demo | |
49 %! disp('- test msgbox message only.'); | |
50 %! msgbox("Below, you should see 3 lines:\nline #1\nline #2, and\nline #3."); | |
51 | 48 |
52 %!demo | 49 %!demo |
53 %! disp('- test msgbox message and caption.'); | 50 %! disp('- test msgbox message only.'); |
54 %! msgbox('You should see a single line.','A msgbox'); | 51 %! msgbox("Below, you should see 3 lines:\nline #1\nline #2, and\nline #3."); |
52 | |
53 %!demo | |
54 %! disp('- test msgbox message and caption.'); | |
55 %! msgbox('You should see a single line.','A msgbox'); | |
56 |