Structure of a ViviFire Program
File-level programming elements
Any code that you write should follow the sequence:
- Library metadata
- Require statements
- Module-level statements
When you create a Library module, you are required to give it a name. Additionally, you can supply metadata about the library, such as a version number.
You can include a Require statement to use code outside of your project. You can associate an object handle with a library, which allows your code to call methods that the library exposes.
For more information, see References and the Require Statement.
Conditional compilation statements
Formore information, see Conditional Compilation.
Module-level programming elements
Procedure-level programming elements
For more information, see Statements.
The main code block
For more information, see Program Entry Point