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: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #59950] exist function
Date: Wed, 3 Feb 2021 12:29:22 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0

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

I agree, "Undocumented" doesn't always translate to "unreasonable" and/or
"unstable"/"unreliable"; this very bug report is an example.

On topic:

>> exist ('table({''foo'',''bar''})',table())
Error using exist
The optional second input to exist must be 'var', 'builtin', 'class', 'dir' or
'file'. 
>> 


so I suppose Matlab first checks if arg #1 is a string or char vector but
perhaps ignores contents, only then checks if arg #2 makes sense, maybe only
then goes back to contents of arg #1.
Doe that make sense?


    _______________________________________________________

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]