view test/bug-38565.tst @ 21206:15517574276a

doc: Add octave.css to HTML interpreter manual (patch #8888).
author Oliver Heimlich <oheim@posteo.de>
date Sat, 06 Feb 2016 22:38:13 +0100
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");