AttributeAsBool

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