[Click] Using the same element in several compounds

Beyers Cronje bcronje at gmail.com
Thu Jun 9 10:21:11 EDT 2005


Hi Anatolij,

Use methods as described by Bart. Pass foo to Bar's config. From there
you obtain a pointer to foo and can call foo->x

Beyers

On 6/9/05, Anatolij Zubow <zubow at informatik.hu-berlin.de> wrote:
> Hi,
> 
> No, we have the following problem:
> 
> elementclass Foo {
>         x :: X();
> }
> 
> elementclass Bar {
>         // how to call foo/x?
> }
> 
> foo :: Foo();
> bar :: Bar();
> 
> Is it possible to call foo/x within Bar?
> 
> Greetings,
> Tolja
> 
> -----Ursprüngliche Nachricht-----
> Von: click-bounces at amsterdam.lcs.mit.edu [mailto:click-bounces at amsterdam.lcs.mit.edu] Im Auftrag von Jens Mueller
> Gesendet: Mittwoch, 8. Juni 2005 15:56
> An: click at amsterdam.lcs.mit.edu
> Betreff: [Click] Using the same element in several compounds
> 
> Hello,
> 
> I have several compounds that should use the same instance of an
> element. But it seems not to be possible to pass an element to an
> elementclass. Only primitive objects like strings and integer are
> possible. What is the reason for this or did I miss something?
> 
> Bye,
> Jens
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> 
> 
> 
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>



More information about the click mailing list