|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #51715] pkg.fcn should call function fcn with no arguments for Matlab compatibility |
Date: | Wed, 9 Aug 2017 23:17:31 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 |
URL: <http://savannah.gnu.org/bugs/?51715> Summary: pkg.fcn should call function fcn with no arguments for Matlab compatibility Project: GNU Octave Submitted by: rik5 Submitted on: Wed 09 Aug 2017 08:17:30 PM PDT Category: Interpreter 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: Without parentheses '()' to help the interpreter, Octave issues an invalid index error. Example Code: x = containers.Map error: invalid index type '.' for function call But adding '()' makes the code work correctly x = containers.Map () x = containers.Map object with properties: Count : 0 KeyType : char ValueType : any _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?51715> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |