|
llore Newbie
Joined: 08 Jun 2002 Posts: 2 Location: Australia
|
Posted: Thu Aug 01, 2002 11:17 am
variable duplication issue |
I have a class folder with triggers in it which - when executed - create a set of temporary triggers to capture the next line. When the next line is triggered it deletes all the temporary triggers.
I have a set of variables in a separate class which are manipulated by the triggers.
What happens though is zmud will create a complete new set of these variables in the first folder whenever the triggers are run.
The way i want to set it up excludes having duplicate variables around, as all classes must be enabled, and the variables must be outside the second folder.
Anyone help me? |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Thu Aug 01, 2002 11:46 am |
Use the complete #VAR syntax when creating/modifying variables:
#VAR varName {value} {defValue} "className"
You can put _nodef in defValue if you do not want the variable to have a default value.
Also, be sure to change the current working class to that in which you have the variables stored. You can do this with:
#CLAS className
After you are finished with the class, you can make the root class folder the current one by doing:
#CLASS 0
Kjata |
|
|
|
llore Newbie
Joined: 08 Jun 2002 Posts: 2 Location: Australia
|
Posted: Thu Aug 01, 2002 6:04 pm |
Thanks! I'll give that a try
|
|
|
|
|
|