AW: [Click] Using the same element in several compounds

Anatolij Zubow zubow at informatik.hu-berlin.de
Thu Jun 9 10:11:29 EDT 2005


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





More information about the click mailing list