help-octave
[Top][All Lists]
Advanced

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

Re: creating another object of a given class


From: CdeMills
Subject: Re: creating another object of a given class
Date: Thu, 23 Dec 2010 07:11:59 -0800 (PST)

Now, there is still another option. In overloaded susbrefs, implement an
access to
x.new(some val)
to a call to x's constructor. I guess the syntax x.new should be explicit
enough. Now the drawback is that objects of your intended classes must all
implement this mechanism.

Regards

Pascal 
-- 
View this message in context: 
http://octave.1599824.n4.nabble.com/creating-another-object-of-a-given-class-tp3161399p3162179.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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