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

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

[Octave-bug-tracker] [bug #51586] Creating method handle fails using str


From: Piotr Held
Subject: [Octave-bug-tracker] [bug #51586] Creating method handle fails using str2func
Date: Tue, 29 Aug 2017 14:40:05 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36

Follow-up Comment #9, bug #51586 (project octave):

I agree this is the wrong approach. I am working on a proper implementation
that correctly parses invoking function handles using '@'. After that is
complete (if that approach is acceptable) it should be quite easy to ask
str2func to evaluate the code it got and return a function handle.

An example of such code would be:


str2func('mycls.myfoo') % or str2func('@mycls.myfoo') % 



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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