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: Markus Mützel
Subject: [Octave-bug-tracker] [bug #54052] the global statement clears previously assigned values
Date: Thu, 14 Jun 2018 07:46:47 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0

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

I Matlab R2016a:

>> clear all
x = 12
global x
x

x =

    12

Warning: The value of local variables may have been changed to match the
globals.  Future versions of MATLAB will require that you declare a variable
to be global before you use that variable. 

x =

    12



    _______________________________________________________

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]