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

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

[Octave-bug-tracker] [bug #59950] exist function


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #59950] exist function
Date: Sat, 30 Jan 2021 08:39:42 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #4, bug #59950 (project octave):

I understand the empty stIf we are going to chase undocumented features, we
might as well try to see what the behavior really is.rings.  I don't
understand why it should support other random data types like structs, cells,
and numeric matrices when it is documented to look up variable names.

Can you try the following?


exist (int16([]))
exist (int16([]), '')
exist (int16([]), rand(3))
exist (int16([]), table())
exist (int16([]), table({'foo','bar'}))

exist (table())
exist (table(), '')
exist (table(), rand(3))
exist (table(), table())
exist (table(), table({'foo', 'bar}))



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59950>

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




reply via email to

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