From bug-octave-request at bevo dot che dot wisc dot edu Wed Nov 20 06:49:41 2002 Subject: "global" bug 2.1.39? From: "Randy Gober" To: Date: Wed, 20 Nov 2002 06:48:18 -0600 This is a multi-part message in MIME format. ------=_NextPart_000_001B_01C29060.CF2F29F0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit If I enter at the command line: >>global c = 3, d, e = 5 I get the error==> error: `d' undefined near line 4 column 15 But I can enter: global c = 3 global d global e = 5 With no problem. The same goes when I use global inside a function. Looking at the Octave online help, "global c = 3, d, e = 5" is legal command (it is in fact an example :-) --Randy ------=_NextPart_000_001B_01C29060.CF2F29F0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable "global" bug 2.1.39?

If I enter at the command line:

>>global c =3D 3, d, e =3D = 5

I get the error=3D=3D>
error: `d' undefined near line 4 = column 15


But I can enter:
global c =3D 3
global d
global e =3D 5

With no problem.

The same goes when I use global inside = a function. Looking at the Octave online help, "global c =3D 3, d, = e =3D 5" is legal command (it is in fact an example :-)


--Randy












------=_NextPart_000_001B_01C29060.CF2F29F0-- ------------------------------------------------------------- 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 -------------------------------------------------------------