Field-Map Scripting

4.1.11.2.18 GetFloatAttributeAsVariant

GetFloatAttributeAsVariant function


Prototype:

function GetFloatAttributeAsVariant(const AttributeName: string): variant;

Description:

Use the GetFloatAttributeAsVariant function to obtain a floating-point value of the specified attribute as a variant.

Syntax:

variable := TScriptXMLElement.GetFloatAttributeAsVariant(AttributeName);


Part

Description


variable

A variable declared as a variant


TScriptXMLElement

A variable declared as an instance of the TScriptXMLElement class


AttributeName

A string parameter specifying the attribute of the given XML element

Return value:

A floating-point value of the specified attribute as a variant



See also:

GetRootElement; GetElementName; GetChildElements; GetFirstChildElement; GetElementText; GetElementInteger; GetElementDouble; GetElementBoolean; GetElementCDATA; HasAttribute; HasNoNullAttribute; GetStringAttribute; GetStringAttributeAsString; GetStringAttributeAsDateTime; GetIntegerAttribute; GetIntegerAttributeAsInteger; GetFloatAttribute; GetFloatAttributeAsVariant; GetFloatAttributeAsFloat; GetBooleanAttribute; GetFirstChildElementStringAttribute; GetFirstChildElementStringAttributeAsString; GetFirstChildElementIntegerAttribute; GetFirstChildElementIntegerAttributeAsInteger; GetFirstChildElementFloatAttribute; GetFirstChildElementFloatAttributeAsVariant; GetFirstChildElementFloatAttributeAsFloat; GetFirstChildElementBooleanAttribute; Name; FreeXMLElement; SaveValuesToTable; GetRootElementName; GetFirstChildElementText; GetFirstChildElementinteger; GetFirstChildElementDouble; GetFirstChildElementboolean