[Top][All Lists]

[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


Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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