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

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

[Octave-bug-tracker] [bug #52759] precedence order for exist()


From: Rik
Subject: [Octave-bug-tracker] [bug #52759] precedence order for exist()
Date: Thu, 28 Dec 2017 17:27:18 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

URL:
  <http://savannah.gnu.org/bugs/?52759>

                 Summary: precedence order for exist()
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Thu 28 Dec 2017 02:27:17 PM PST
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

It appears that Matlab may have changed their precedence order when there are
multiple matches for a name.  According to Octave's documentation, the
precedence order is


variable, built-in function, oct-file, directory, file, class.


It would appear from Matlab's documentation that the new order is


variable, directory, built-in function, oct-file, file, class.


This should be tested, perhas with a mex file "abc.mex" and a directory "abc"
in the current directory and then executing 


x = exist ('abc')


to see the return code.





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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