AttributeAsInt

This method returns the value of an attribute as a data type Integer. The attribute is transferred to the method as input parameter.
Syntax
METHOD AttributeAsInt : DINT
VAR_INPUT
a : SXmlAttribute;
END_VAR
Return value
Name | Type |
---|---|
AttributeAsInt | DINT |
Inputs
Name | Type |
---|---|
a | SXmlAttribute |
Sample call:
nValue := fbXml.AttributeAsInt(xmlAttr);