From octave-maintainers-request at bevo dot che dot wisc dot edu Wed May 21 12:20:12 1997 Subject: Bug in save From: "John W. Eaton" To: Andreas Weingessel Cc: octave-maintainers at bevo dot che dot wisc dot edu Date: Wed, 21 May 1997 12:17:14 -0500 On 21-May-1997, Andreas Weingessel 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