|
From: | James Sherman Jr. |
Subject: | Re: Did I miss something about structures and function handles |
Date: | Sat, 18 Aug 2007 16:13:02 -0400 |
On 18.08.2007, at 19:04, address@hidden wrote:
> I can say:
>
> b.a=@(X)(disp(X-3))
>
> if I then say
>
> c = b
> c.a(7)
>
> I get 4 as expected.
>
> This looks to me like 90% of object oriented programming is in octave.
> Is there some way that I can get at the other elements of "b" and "c"
> from the member "a".
Which 'other elements' of b and c do you mean? In your example above,
I can see only one element (a) in b and c.
Matthias
-------
Matthias Brennwald
Lägernstrasse 6
CH 8037 Zürich
+41 (0)44 364 17 03
address@hidden
_______________________________________________
Help-octave mailing list
address@hidden
https://www.cae.wisc.edu/mailman/listinfo/help-octave
[Prev in Thread] | Current Thread | [Next in Thread] |