help-octave
[Top][All Lists]
Advanced

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

Variables


From: John W. Eaton
Subject: Variables
Date: Wed, 17 Feb 2010 09:54:23 -0500

On 16-Feb-2010, Mike B. wrote:

| Hi All,
| 
| I'm using Octave 3.2. I have a keyboard statement in a function so it enters 
a debug mode. However, when I type the name of a function variable I get an 
error. Here's a simple example:
| 
| function out = myfun( in )
| a = in * 5;
| keyboard;
| endfunction
| 
| and the main code (mycode.m):
| z1 = myfun( 10 )
| 
| typing
| > mycode
| octave runs myfun and goes into debug mode. then typing
| > a
| gives
| error: `a' undefined near line 1 column 1

This bug has been fixed in the current development version of Octave.

jwe


reply via email to

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