Capy-Bearer Documentation

unit_compile

host call

Capy

function unit_compile(path : string = "") bool

Description

unit_compile compiles a unit.

Parameters

path : unit path. An empty path selects the current unit

Return Values

true if the compiler compiles the unit

Example

Capy

print(unit_compile("/doc/examples/sample_unit.capy"), "\n")

Output

true