view test/bug-38565.tst @ 18862:4b98fc5c2eb1 gui-release

fix unintentionally leaving the debug mode (bug #42309) * main-window.cc (execute_command_callback): use accept_line () instead of interrupt () for the command_editor
author Torsten <ttl@justmail.de>
date Thu, 12 Jun 2014 19:48:50 +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");