AttributeAsUint

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