#include

#include=<path>\<filename.src>

 

Load this file, in which all the global functions are defined.

 

With this function you can define own beas script functions for using in different windows

 

 

Every function must be defined with the following syntax:

 

global function <function name>

...

end global

 

 

Example:

initialize function, which defined in project folder

#include=<system.projectfolder>\myfunctions.src

 

If functions are defined differently, Beas will not be able to read the file.

 

Example

 

This is wrong:

global function myfunction

global end

 

This is wrong:

global function myfunction

endglobal

 

This is correct

global function myfunction

end global

 

 

The load function handles large source files fast.

 

Limitation in Beas 9.3 PL 1:

Global functions are not visible in the Debug window.

 

Limitation in  Beas 9.3 PL 2:

Global functions are not visible in the Debug window if the file size > 100 Kbyte.

 

beas 9.3 PL 1 HF 7