Structure of a ViviFire Program
File-level programming constructs
Code that you write usually follows the sequence:
- Module name and metadata
- Require statements
- Namespace statements and namespace-level elements
Module name and metadata
When you create a module, you are required to give it a name. Additionally, you can supply metadata about the module, such as a version number.
You can include a Require statement to use code outside of your project. See References and the Require Statement for more information.
@Option and conditional compilation directives
See @Option Directive and Conditional Compilation for more information.
Namespace-level programming constructs
Module-level programming constructs
Procedure-level programming constructs
See Statements for more information.
The program entry point
See Program Entry Point for more information.