Skip to content
Franco Montenegro edited this page Aug 15, 2016 · 2 revisions

Import

Import

You can include external files in your script by using the import statement:

// file_1.j
function foo
    call BJDebugMsg("file_1.j")
endfunction

// file_2.j
import "path/to/file_1.j"
function bar
    call foo()
end

If the file could not be found, it will throw an error. If the file being imported contain errors, it will let you know.

Clone this wiki locally