octave-maintainers
[Top][All Lists]
Advanced

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

Re: new OOP syntax


From: Ben Abbott
Subject: Re: new OOP syntax
Date: Tue, 16 Nov 2010 17:35:16 -0600

On Nov 16, 2010, at 5:22 PM, Robert T. Short wrote:

>> Is there a way for a method associated with p to assign a new value to "p" 
>> without a normal assigment (i.e. p = addRequired (...)))?
>>   
> No.  Or at least I don't think so.
> 
> Bob

My hope was to determine the name of the object in the caller's scope, and then 
use "evalin" to modify it.

It would be very *ugly*, but would let me implement something that functions as 
inputParser does.

Ben


reply via email to

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