ignoring line prefix
John W. Eaton
jwe at octave.org
Wed Jun 24 16:20:12 CDT 2009
On 24-Jun-2009, Przemek Klosowski wrote:
| GNU Octave, version 3.0.5 has this weird behavior that the obsolete usage breaks PS*()
| functions:
|
| PS1=""
| warning: PS1 is no longer a built-in variable; please read the NEWS file or type `news' for details
| PS1 =
| PS1(" ")
| error: invalid matrix index = 32
This happens because you created a variable called PS1 which hides
the built-in function PS1. Maybe the warning should also say
something like
By assigning a value to PS1, you will create a variable which will
hide the built-in function PS1.
?
jwe
More information about the Bug-octave
mailing list