[great-users] global variable

Gabor Madl gabe at isis.vanderbilt.edu
Tue Apr 5 12:27:58 CDT 2005


Hey,

last time I faced this problem I had to hack that into some attribute of a class. Dirty trick but works. This functionality would be definitely useful, but I guess it could be used to pass information without following the event passing semantics.

Gabe

-----Original Message-----
From: Gábor Bátori (IJ/ETH) [mailto:Gabor.Batori at ericsson.com] 
Sent: Tuesday, April 05, 2005 11:22 AM
To: great-users
Subject: [great-users] global variable


Is it possible to create 'global variables' in GReat, which are accessible in the AtrributeMappings of different rules? For instance a counter which counts the sub-tree elements of a model, but the counter is not part of the source and the target meta-models.

Thanks in advance,

Gabor Batori

_______________________________________________
great-users mailing list
great-users at list.isis.vanderbilt.edu
http://list.isis.vanderbilt.edu/mailman/listinfo/great-users


More information about the great-users mailing list