Assumed that my tease is separated in multiple scripts but I got some methods which I would like to use in every script. Do I have to define those methods in every script itself or is there a way to define them in one place only and use it from all scripts of the tease?
Same question for variables. To share data between scripts of one tease do I have to use the persistent data.properties with save(...) and loadXYZ(...) or is there a way to define global variables like in java which can be shared between multiple instances of classes?
|