View Full Version : String Condition

06-10-2004, 07:13 AM
Hi all,

I am writing a string comparison condition under condition tab of files or dialog..
But i want to know where i have to define string variable so that i can access it globally..


06-10-2004, 11:47 AM
You can use a java system property, or you can use a variable. To set a variable use the following code:

try {


"VariableName", "VariableValue");


catch (Exception e) {

arg0.getServices().logEvent(this, Log.ERROR, e);


This would set the variable named “VariableName” to the value “VariableValue”. If the variable did not already exist, it would be created. “VariableName” could then be resolved using $V(VariableName). Note: this assumes that “arg0” is the name of the argument passed to the event.