octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #54052] the global statement clears previously


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #54052] the global statement clears previously assigned values
Date: Wed, 13 Jun 2018 22:29:18 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #6, bug #54052 (project octave):

Michael - thanks, but the test that we need in Matlab is without the declarit
function, what is the value of x after it is declared global, does it retain
the value of the previous normal variable named x or is it reset to empty?


clear all
x = 12
global x
x


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?54052>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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