octave-maintainers
[Top][All Lists]
Advanced

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

Bug in save


From: John W. Eaton
Subject: Bug in save
Date: Wed, 21 May 1997 12:17:14 -0500

On 21-May-1997, Andreas Weingessel <address@hidden> wrote:

| When assigning a value to the variable "e" this variable can not be
| saved. The same is true for the variable named "pi". These two
| variables are both defined in octave, but can be overwritten.
| 
| Repeat-By:
| ---------
| 
| octave:1> e = 5
| e = 5
| octave:2> save xxx e
| warning: save: no such variable `e'
| 
| But "e" can be used with the new value.
| 
| octave:3> e+3
| ans = 8
| octave:4> e
| e = 5

The problem is that built-in variables like this don't become normal
user variables when the assignment happens.  I don't see a simple fix
for this problem, because some built-in variables should remain
special evan after assignment.

I don't think I'll be able to fix this for 2.0.6, but I'll try to do
it for 2.1.

Thanks,

jwe


reply via email to

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