#include

beasscript-logo-small

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