Sign in Join
FPDoc Onlineexperiment

TXMLConfig.GetExtendedValue function

Member of TXMLConfigpublicIn unit Laz2_XMLCfg

Gets the value for a DOM node at the specified path as an extended data type.

Declaration

pascal
function GetExtendedValue(const APath: string; const ADefault: extended)
: extended

Arguments

APath

Path to the DOM node examined in the method.

ADefault

Default value used when the DOM node has no content.

Function result

Extended value for the specified DOM node.

Description

GetExtendedValue is an Extended function used to get the value for a DOM node at the specified path as an Extended data type. GetExtendedValue is similar to the GetValue method; in fact it calls GetValue to retrieve the value for the DOM node in APath. It calls StrToExtended to convert the node value to the Extended data type used as the return value.

Use ADefault to specify the default value used in the method when the DOM node does not contain any content (or value).

See also

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