getConstants(constDict: ConstantNDict input);
The getConstants method of the Type class adds references to the constants in the type to the constants dictionary specified in the constDict parameter.
The dictionary is not cleared before instances are added.
The following example shows the use of the getConstants method.
vars dict : ConstantNDict; con : Constant; begin create dict transient; getConstants(dict); foreach con in dict do ... // do some processing here endforeach; epilog delete dict; end;