UCE Docs / load

Signature

#load "myfile.uce"

Parameters

file name : name of an UCE file that should be included

Includes another UCE file.

Use #load when you want the current file to pull in declarations or reusable content from another UCE source file.

Example

// #load "file.uce" includes another unit at COMPILE time (a preprocessor directive,
// used at file top level). At RUNTIME, unit_render()/unit_call() invoke another unit:
unit_render("examples/sample_unit.uce");
print("\n");
Output
hello from the sample unit