view test/bug-38565.tst @ 20599:66adbb6e88ad stable

textread.m, textscan.m: always remove headerlines args before invoking strread (bug #46080)
author Ethan Biery <ebiery@lutron.com>
date Thu, 01 Oct 2015 22:33:13 +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");