<<

Contents

Search

>>

 

#ADDCLASS

 

 

Compiler Instruction

 

 

Syntax:

#ADDCLASS = <Class File>[,<Package>]

 

<Class File> = <String>

 

<Package> = <String>

 

 

Meaning:

With this compiler instruction any classes that are called via #JAVA in the macros can be included.

 

The <Class File> is inserted into the jar-file. It is also made available for the Java compiler.

 

Parameter:

Class File

Name of class file

Package

Name of package

 

Sample:

#JAVA_IMPORT = "import Progs.Test"

#ADDCLASS = "C:\java\Test.class","Progs"
...
#JAVA
$H% = Test.compute(3,4)
#ENDJAVA

 

See also:

#JAVA