#JAVA_GLOBAL
|
Syntax: |
#JAVA_GLOBAL = <Global Java Variable> <Global Java Variable> = <STRING> |
||
|
Meaning: |
Declare a global java variable. With the compiler instruction #JAVA any java sourcecode
can be inserted into the program. Therefore it is often necessary to declare
separate Java variables that can be used in all the macros. For every program
a separate Java class is created. #JAVA_GLOBAL defines a variable in the head
of this class. As a result the
variable can be accessed in all the macros. |
||
|
Parameter: |
|
||
|
Sample: |
#JAVA_GLOBAL = "public Vector v = new
Vector(10,10);" #JAVA_GLOBAL = "private int counter =
0;" |
||
|
See also: |
|