<<

Contents

Search

>>

 

#ADD_IMAGE

 

 

Compiler Instruction

 

 

Syntax:

#ADD_IMAGE = <Image File>

 

<Image File> = <STRING>

 

 

Meaning:

All names of image files (png, jpg, gif) that occur as clear texts in the mask attributes or in commands of the programming language are inserted into the file <PROGRAM-NAME>.jar automatically. Image names that are accessed by a variable cannot be inserted since the content of the variable is not yet known at the point of program generation. These image files can be inserted into the jar-file via #ADD_IMAGE.

 

Parameter:

Image File

Name of image file

 

Sample:

#ADD_IMAGE = "Picture.png"

...

TEXT$ = "@Picture.png,Show picture"
ON F8 MACRO SHOW.PICTURE,TEXT$