Attributes

name
Required. The name that you assign to the variable. There are a few restrictions on the spelling of variable names (see Variable names and type names).
type
Required. The type of the variable. The standard types are string, integer, double, boolean, field. You an also define an imported type representing a Java class (see Creating a new variable).
value
Optional. The initial value for the variable. If you do not specify an initial value then the default initial value depends on the variable type (see Default initial values for variables).