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 make a module, you must give it a name. Additionally, you can supply metadata about the module, such as a version number.
You can use the statement
Require to use external code with 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.