An SPC program is composed of code blocks and variables.
There are two distinct types of code blocks: tasks and functions. Each type of code block has its own unique features, but they share a common structure.