Mercurial > octave
view test/bug-38565.tst @ 20249:b93a155dc200
ginput.m: Stop feval error when ginput called multiple times (bug #45261).
* ginput.m: Restore the original closereq function for the figure at the end of
a normal termination of ginput.
author | Rik <rik@octave.org> |
---|---|
date | Sat, 06 Jun 2015 08:26:21 -0700 |
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");