Cicode Programming Reference > Using Variables > Using Variable Scope

Using Variable Scope

Scope refers to the accessibility of a function and its values. A Cicode variable can be defined as any one of three types of scope - global, module, and local. By default, Cicode variables are module scope, unless they are declared within a function.

Variables have the following format:

DataType Name [=Value];