Common Suffices
The following collection of suffices are common to all identifier types.
Example
These suffixes are typically appended to an index into the set AllIdentifiers
or a subset thereof. Consider the following declaration:
Set SelectedIdentifiers {
SubsetOf : AllIdentifiers;
Index : si;
OrderBy : si;
}
Then the following loop will make a simple overview of those identifiers:
SelectedIdentifiers := AllParameters ; ! Or some other selection.
put outf ;
outf.pagewidth := 255 ; ! Wide
put "type":20, " ", "name":32, " ", "dim ", "unit":20, " ", "Text", / ;
put "-"*20, " ", "-"*32, " ", "--- ", "-"*20, " ", "-"*40, / ;
for ( si ) do ! For each selected identifier
put si.type:20, " " ! Type
si:32, " ", ! name
"(",si.dim:1:0, ") ", ! dimension
si.unit:20, " ", ! unit
si.txt, / ! Documenting text.
endfor ;
putclose ;
Note
Note that the suffixes .dim, .txt and .type are deprecated. See also Working with the Set AllIdentifiers of the Language Reference.