15.22.5 Special Template Variable Notes
15.22 Tips for Template Programming
|
Note 1
nn is a number from 1 to 99. This length is the maximum length. The number nn may be specified as 1 or 2 numerics, or a valid index name of 2 characters may be used (and its numeric value will be substituted in the variable name).
@@LSTnn will be expanded to include all elements (preceded by a "#" if a non-literal) with their corresponding attributes.
For example:
GROUP_BY NAME(#PANELDATA) FIELDS(@@LST01) in the template
may be substituted for in the resulting RDML code by
GROUP_BY NAME(#PANELDATA) FIELDS((#EMPNO *OUTPUT) #SURNAME
#ADDR1 #ADDR2)
@@LSUnn will be expanded to include all elements with no preceding "#" and no attributes.
Note 2
nn is a number from 1 to 99. This length is the maximum length. The number nn may be specified as 1 or 2 numerics, or a valid index name of 2 characters may be used (and its numeric value will be substituted in the variable name).
yy is a number from 1 to 99. This length is the maximum length. The number yy may be specified as 1 or 2 numerics, or a valid index name of 2 characters may be used (and its numeric value will be substituted in the variable name).
@@LSXnn/yy will be expanded to include the first yy elements (preceded by a "#" if a non-literal) of the list.
For example:
GROUP_BY NAME(#PANELDATA) FIELDS(@@LSX01/03)
would result in this RDML code in a template:
GROUP_BY NAME(#PANELDATA) FIELDS(#EMPNO #SURNAME #ADDR1)
Note 3
nn is a number from 1 to 99. This length is the maximum length. The number nn may be specified as 2 numerics, or a valid index name of 2 characters may be used (and its numeric value will be substituted in the variable name).
xx is a number from 1 to 99. This length is the maximum length. The number xx may be specified as 1 or 2 numerics, or a valid index name of 2 characters may be used (and its numeric value will be substituted in the variable name).