[Top][All Lists]

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

[Octave-bug-tracker] [bug #65085] exit variable should give error

From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #65085] exit variable should give error
Date: Wed, 27 Dec 2023 20:25:03 -0500 (EST)

Follow-up Comment #1, bug#65085 (group octave):

Do not make variables that shadows octave function. 
This is a know matlab/octave feature. If you had, you can "clear" them to
restore original functions. E.g.:

octave:1> pi
ans = 3.1416
octave:2> pi = 4
pi = 4
octave:3> pi
pi = 4
octave:4> exit = 1
exit = 1
octave:5> exit
exit = 1
octave:6> clear all
octave:7> pi
ans = 3.1416
octave:8> exit



Reply to this item at:


Message sent via Savannah

reply via email to

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