Following the initial general introduction to working with variables, in the previous section, we now explain in detail how variable declaration takes place in SDF-P. Each of the following subsections deals with one aspect which must be taken into consideration in such declarations:
The first subsection presents the different “variable types” in SDF-P, i.e. it defines the terms that apply to S variables as a whole.
The next subsection, “Variable names”, describes variable name syntax.
The third and fourth subsections describe the possible “data types” for S variables and the way in which S variables are initialized (“Initial value”).
The next subsection, “Scope of variables”, describes the various scopes and their effect on the “visibility” of S variables.
Finally, the last two subsections describe the container mechanism for S variables (“Variable containers”), and the possibility of multiple declaration.