Skip to content

TCommands.GetEnumerator

Get enumerator for iterating commands

Declaration

Source position: fpmkunit.pp line 432

public 
function TCommands.GetEnumerator : TCommandEnumerator;

Description

Function that returns a TCommandEnumerator object for iterating through the commands collection. Enables the use of for..in loops to iterate over all commands in the collection.