comparison scripts/miscellaneous/menu.m @ 6046:34f96dd5441b

[project @ 2006-10-10 16:10:25 by jwe]
author jwe
date Tue, 10 Oct 2006 16:10:31 +0000
parents 2618a0750ae6
children a07846d734db
comparison
equal deleted inserted replaced
6045:421d8a903df7 6046:34f96dd5441b
31 ## Author: jwe 31 ## Author: jwe
32 32
33 function num = menu (t, varargin) 33 function num = menu (t, varargin)
34 34
35 if (nargin < 2) 35 if (nargin < 2)
36 usage ("menu (title, opt1, ...)"); 36 print_usage ();
37 endif 37 endif
38 38
39 ## Force pending output to appear before the menu. 39 ## Force pending output to appear before the menu.
40 40
41 fflush (stdout); 41 fflush (stdout);