PgDAC
Used to iterate through all the macros parameters.
TMacros
property Items[Index: integer]: TMacro; default;
Use the Items property to iterate through all macros parameters. Index identifies the index in the range 0..Count - 1.