INTEGRAL DSL Reference Guide
Jump directly to:
::my.include(filename)
This function includes another INTEGRAL file and executes it. This file can be either INTEGRAL DSL source code or ITEGRAL DSL bytecode.
Parameters
filename
A string containing the name (path) of the INTEGRAL file to be included and executed. This path is relative to the current working directory.
Return Value
The function returns DV_RET_OK on success and DV_RET_ERR on failure.
- const DV_RET_ERR = 0 — failure
- const DV_RET_OK = 1 — success
Notes
Once the function returns, your program resumes where it left off. If you do not wish your program to resume normally, remember to add return immediately after include.
Example 1
::my.include("../../common/includes/integral-basic.i");