<<

Contents

Search

>>

 

#ADDIMAGE

 

 

Compiler Instruction

 

 

Syntax:

#ADDIMAGE = <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 #ADDIMAGE.

 

Parameter:

Image File

Name of image file

 

Sample:

#ADDIMAGE = "Picture.png"

...

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