From bug-request at octave dot org Sat May 21 20:49:35 2005 Subject: dbwhere From: Tom Holroyd To: bug at octave dot org Date: Sat, 21 May 2005 21:48:28 -0400 (EDT) I'm using 2.9.3, and having trouble with dbwhere. I created testdb.m: function r = testdb(varargin) r = dbwhere; endfunction but, octave:1> testdb error: dbwhere: must be inside of a user function to use dbwhere Am I using this wrong? The code I'm working with is using "dbstack" to find out where it is and how it was called, because certain functions should only be called in certain contexts. Dr. Tom Holroyd "A man of genius makes no mistakes. His errors are volitional and are the portals of discovery." -- James Joyce ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------