Sign in Join
FPDoc Onlineexperiment

TXMLConfig.IsLegacyList function

Member of TXMLConfigpublicIn unit Laz2_XMLCfg

Indicates if the specified list was written using the format from a previous LazUtils version.

Declaration

pascal
function IsLegacyList(const APath: string): Boolean

Arguments

APath

Path the values examined in the method.

Function result

True when the path includes a Count value.

Description

In a previous LazUtils version, a Count value was written to indicate the number of items in the list. The return value is True if an entry named "Count" is found in APath with a value other than -1.

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