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: Rik
Subject: [Octave-bug-tracker] [bug #59950] exist function
Date: Fri, 12 Feb 2021 13:26:19 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36

Update of bug #59950 (project octave):

        Operating System:       Microsoft Windows => Any                    

    _______________________________________________________

Follow-up Comment #15:

I verified that single-argument empty values to exist now return '0'. 


exist ([])
ans = 0


However, the motivating example, where a particular class such as 'file' or
'var' is given, results in an error. 


exist ([], 'file')
error: exist: NAME must be a string


If we're going to be Matlab-compatible here, shouldn't we be fully
Matlab-compatible?


    _______________________________________________________

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]