help-octave
[Top][All Lists]
Advanced

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

Re: Variables across publish sections not recognized


From: Kai Torben Ohlhus
Subject: Re: Variables across publish sections not recognized
Date: Fri, 18 Jan 2019 23:00:46 +0100

On Fri, Jan 18, 2019 at 7:32 PM Michael Suchoff <address@hidden> wrote:
I get an undefined error after using "a" in section 2.
I'm pretty sure MATLAB doesn't have this problem.
using global declaration for a doesn't fix this.
If I change the ## to #, works OK.

tested in 4.4.1 windows release


## Section 1

a = 1;
a

## Section 2

b = a;

error: 'a' undefined near.....


Confirmed. This will soon be fixed with the coming Octave 5.0 release.  To get the fix now, see comment #1 in

   https://savannah.gnu.org/bugs/?54722

Best,
Kai 

reply via email to

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