Cicode Editor
- Last UpdatedJul 18, 2023
- 1 minute read
The Cicode Editor is VBA aware and designed to help you create, edit, test, and debug VBA file modules in your Plant SCADA project.
The Cicode Editor has features suitable for use with VBA file modules including:
-
Ability to create, open, edit, and save VBA file modules
-
Customizable coloration of VBA code syntax structure
-
Recognition of predefined keywords with tooltip prompting and auto-completion functionality
-
Fully integrated debugging of VBA file modules
-
Separate VB Watch window for viewing runtime VBA variable values
A sample VBA file module named Sample.Bas is included in the User\Example subfolder on the drive on which you installed Plant SCADA. This module explains most of the VBA functionality.
VBA file modules will never be compiled into standalone Windows executable files; instead, they're included with the compiled Plant SCADA. As a result, they don't require a Main procedure to be declared. Therefore, VBA file modules are structured to contain only their header information, modular constant and variable declarations, then procedures (subroutines, and functions).
VBA file modules are automatically included with a Plant SCADA project if they are stored in the same file folder as your project. When saving a VBA file module to disk, save it to your project folder.