[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #31397] Load of globals does not give access t
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #31397] Load of globals does not give access them if they have not been mentioned before |
Date: |
Thu, 21 Oct 2010 15:13:02 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100821 Iceweasel/3.6.8 (like Firefox/3.6.8) |
URL:
<http://savannah.gnu.org/bugs/?31397>
Summary: Load of globals does not give access them if they
have not been mentioned before
Project: GNU Octave
Submitted by: None
Submitted on: Thu 21 Oct 2010 03:13:01 PM UTC
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Feature Request
Status: None
Assigned to: None
Originator Name: Kim Hansen
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 3.2.4
Operating System: GNU/Linux
_______________________________________________________
Details:
When I load a file with global variables in they are not added to the local
list of global variables I have access to. This is a change from octave 3.0.
The example below shows:
1. I save a global variable called glo in the file called glo.
2. I load it, but it is not accessible. (this is the bug)
3. I try to access glo, but it is not defined yet. The I load the file and
glo is accessible.
address@hidden:~$ octave -q
octave:1> global glo = 1
octave:2> whos
Variables in the current scope:
Attr Name Size Bytes Class
==== ==== ==== ===== =====
ans 1x30 30 char
g glo 1x1 8 double
Total is 31 elements using 38 bytes
octave:3> save glo glo
octave:4>
address@hidden:~$ octave -q
octave:1> load glo
octave:2> whos
Variables in the current scope:
Attr Name Size Bytes Class
==== ==== ==== ===== =====
ans 1x30 30 char
Total is 30 elements using 30 bytes
octave:3>
address@hidden:~$ octave -q
octave:1> glo
error: `glo' undefined near line 1 column 1
octave:1> load glo
octave:2> whos
Variables in the current scope:
Attr Name Size Bytes Class
==== ==== ==== ===== =====
ans 1x30 30 char
g glo 1x1 8 double
Total is 31 elements using 38 bytes
octave:3>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31397>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #31397] Load of globals does not give access them if they have not been mentioned before,
anonymous <=