Mercurial > octave
comparison scripts/testfun/rundemos.m @ 21634:96518f623c91
Backed out changeset dcf8922b724b
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Wed, 20 Apr 2016 11:06:03 -0700 |
parents | dcf8922b724b |
children | ffad2baa90f7 |
comparison
equal
deleted
inserted
replaced
21633:dcf8922b724b | 21634:96518f623c91 |
---|---|
71 f = fullfile (directory, f); | 71 f = fullfile (directory, f); |
72 if (has_demos (f)) | 72 if (has_demos (f)) |
73 try | 73 try |
74 demo (f); | 74 demo (f); |
75 catch | 75 catch |
76 fprintf ("error: %s\n\n", lasterror ().message); | 76 printf ("error: %s\n\n", lasterror ().message); |
77 end_try_catch | 77 end_try_catch |
78 if (i != numel (flist)) | 78 if (i != numel (flist)) |
79 input ("Press <enter> to continue: ", "s"); | 79 input ("Press <enter> to continue: ", "s"); |
80 endif | 80 endif |
81 endif | 81 endif |