help-octave
[Top][All Lists]
Advanced

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

Global declarations


From: John W. Eaton
Subject: Global declarations
Date: Sun, 11 May 2003 13:42:36 -0500

On 11-May-2003, Jonathan C. Webster <address@hidden> wrote:

| Hello,
| Three years ago, using octave 2.0.14, I wrote a program that 
|   had several "global" declarations on the same line.
| 
| global tfield2, tfield3, tfield4, tfield5, tfield6
| 
| In my .octaverc I had
| 
| warn_comma_in_global_decl = 0;
| 
| Now, dusting off that same program under octave 2.1.35,(came 
| with Red Hat 7.3) and using the same .octaverc, I get an error
| error: `tfield3' undefined near line 15 column 17
| 
| What is different, or what have I forgotten? The onlime 
| manual still suggests that that should work.

Omit the commas in the line and it should work:

  global tfield2 tfield3 tfield4 tfield5 tfield6


jwe



-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

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