Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

Modules

Modules may be used to split code into smaller chunks.

To compile a module use: fz -sourceDirs=<source_dir> -saveLib=<module_name.fum>

Or if the module depends on another module a: fz -module=<a> -sourceDirs=<source_dir> -saveLib=<module_name.fum>

To use modules use in a programm use the -module option of fz, e.g.: fz -module=module1,module2 hello_world.fz

last changed: 2024-06-28