Mercurial > octave-nkf
view test/bug-38565.tst @ 20256:1b4bef838aaf stable
textscan.m: adapt format repeat counter when reading from file before invoking strread.m (bug #45047)
author | Philip Nienhuis <prnienhuis@users.sf.net> |
---|---|
date | Sun, 24 May 2015 23:06:31 +0200 |
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");