Mercurial > octave
view test/bug-38565.tst @ 20839:20b17dda0e0c stable rc-4-0-1-1
maint: Bump version number for 4.0.1-rc1.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 10 Dec 2015 13:47:18 -0500 |
parents | b9e510a1f308 |
children | a4faec57f4c8 |
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");