A DIML variable can be considered as a vector if data it contains are stored into scalar variables which key adopt the following syntax:
variable-name§n, variable-name§n-1 ... , variable-name§0
e.g. :
<%set %MONTH§0%="January" %>
<%set %MONTH§1%="February" %>
<%set %MONTH§2%="March" %>
...
<%set %MONTH§11%="December" %>
Such a vector is associated by the DIML to metavariables that may have automated behaviour:
- The automated index associated to this vector: variable-name§I.
- The dimensionning variable (that gives the upper range for valid data), variable-name§C, optional.
The above syntax retrieves the value corresponding to the actual value of the automate dindex associated to the vector. the general form for this call is:
variable_name[] ≡ variable_name[ variable_name§I ]
Although this kind of statement can be called in the "mian sequence" of a DIML document, it will have more utility in a template definition, that will further be called iteratively. Very short and concises forms of tabular data exploration can be achieved.
scalar-formatters: This statement has scalar resolution, formatting attributes of the basic scalar call are applicable.
|