Cicode Programming Reference > Writing Functions

Writing Functions

CitectSCADA is supplied with over 600 built-in functions. One of these functions (or several functions in combination) can usually perform the required tasks in your system. However, where system functionality cannot be achieved with built-in functions, you can write your own functions.

A Cicode function is a small program: a collection of statements, variables, operators, conditional executors, and other functions.

While it is not necessary to be an experienced programmer to write simple Cicode functions, it is strongly recommended not to attempt to write large, complex functions unless you are familiar with computer programming, and have experience with Cicode. Functions are equivalent to the subroutines of BASIC and assembly language, and the subroutines and functions used in Pascal and C.

Note: The Cicode Editor is designed specifically for editing and debugging Cicode functions.

See Also

The Cicode Editor

Using Cicode Files