Sign in Join
FPDoc Onlineexperiment

TPackages.GetEnumerator function

Member of TPackagespublicIn unit fpMkUnit

Gets enumerator for iterating packages

Declaration

pascal
function GetEnumerator: TPackageEnumerator

Function result

Package collection enumerator

Description

GetEnumerator returns a TPackageEnumerator object that enables for-in loop iteration through all packages in the collection.

This method is called automatically by the compiler when using for-in syntax with package collections.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.