octave-maintainers
[Top][All Lists]
Advanced

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

Re: @ ( ARG_LIST ) STATEMENT syntax


From: John W. Eaton
Subject: Re: @ ( ARG_LIST ) STATEMENT syntax
Date: Fri, 6 Aug 2004 09:43:01 -0400

On  6-Aug-2004, David Bateman <address@hidden> wrote:

| Why not make anonymous function handles be created in the class
| octave_fcn_inline. It would still have all of the features of a
| function handle, but you'd also be able to run Fformula on it to
| recover the formula used. At the moment there is no way to find
| out this information once it is set.

For compatibility, I think this object will probably have to return
"function handle" for its class.

In any case, there is no character string to store as the text of the
function unless we recreate it from the parse tree.  So we could just
as easily do that for function handles as well, using the "type"
builtin.  Also, I'd prefer not to have the name of the anonymous
function handle contain the text of the function as that could be
arbitrarily long.

jwe



reply via email to

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