help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"stop" function


From: S.Hefti
Subject: "stop" function
Date: Wed, 03 Mar 1999 18:20:12 -0500

Hi,

IDL has a function I appreciated a lot: "stop" would break
the execution of a function, and halt there. The user
is given back the prompt. The visible variables are
the local variables of that specific function. I used
this a lot for debugging: let a routine run and inspect
variables on the spot, if something goes wrong, with
"print" statements from the command line. IDL also
has the "continue" command which lets you resume the
execution of a routine after having inspected/changed
variables. "retall" would bring you back to the top
level (main prompt of octave).

Is there something similar in Octave ? Would it be easy
to implement ?

Thanks,

Simon.

-- 
---------------------------------------------------------------------
Simon Hefti, Ph D                                     address@hidden
---------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]