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

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

[Octave-bug-tracker] [bug #53565] clear -x and clearvars revisit


From: Ceral Paquet
Subject: [Octave-bug-tracker] [bug #53565] clear -x and clearvars revisit
Date: Fri, 6 Apr 2018 03:14:24 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0

Follow-up Comment #1, bug #53565 (project octave):

Oops, didn't post the "clear -x" issue. 

++
>> a1=1; a2=2; a3=3;
>> clear -x a1
>> whos
Variables in the current scope:

   Attr Name        Size                     Bytes  Class
   ==== ====        ====                     =====  =====
        a1          1x1                          8  double

Total is 1 element using 8 bytes

>> a1=1; a2=2; a3=3;
>> clear a* -x a1
>> whos
>>
--

If I understand correctly, the exclusive option (-x) should protect a1 so it
isn't behaving correctly (or giving an error) when other arguments are
supplied.



    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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