Structure of a ViviFire Program

File-level programming constructs

Code that you write usually follows the sequence:

  1. Module name and metadata
  2. Require statements
  3. Namespace statements and namespace-level elements

Module name and metadata

When you make a module, you must give it a name. Additionally, you can supply metadata about the module, for example, a version number.

Require statements

You can use the statement Require to use external code with your project. See References and the Require Statement for more information.

Namespace statements

TODO

@Option and conditional compilation directives

See @Option Directive and Conditional Compilation for more information.

Namespace-level programming constructs

TODO

Module-level programming constructs

TODO

Procedure-level programming constructs

See Statements for more information.

The program entry point

See Program Entry Point for more information.