Mercurial > octave-nkf
view test/bug-38565.tst @ 18470:044bbf569cd3 gui-release
maint: Merge stable to gui-release.
author | Rik <rik@octave.org> |
---|---|
date | Sat, 15 Feb 2014 20:19:04 -0800 |
parents | b9e510a1f308 |
children |
line wrap: on
line source
%!function r = f (x) %! if (ischar (x)) %! r = x; %! else %! error ("expecting character string"); %! endif %!endfunction %!assert (eval ("f 10;"), "10");