CitectVBA Programming Reference > Understanding CitectVBA Language Basics > Cicode Editor

Cicode Editor

The Cicode Editor is CitectVBA aware and designed to help you create, edit, test, and debug CitectVBA file modules in your Citect SCADA project.

The Cicode Editor has features suitable for use with CitectVBA file modules including:

A sample CitectVBA file module named Sample.Bas is included in the User\Example subfolder on the drive on which you installed Citect SCADA. This module explains most of the CitectVBA functionality.

CitectVBA file modules will never be compiled into standalone Windows executable files; instead, they're included with the compiled Citect SCADA. As a result, they don't require a Mainprocedure to be declared. Therefore, CitectVBA file modules are structured to contain only their header information, modular constant and variable declarations, then procedures (subroutines, and functions).

CitectVBA file modules are automatically included with a Citect SCADA project if they are stored in the same file folder as your project. When saving a CitectVBA file module to disk, save it to your project folder.

Published June 2018