Infosys在阅读器中打开 / AI 翻译

TF6xxx - Connectivity · 0 次阅读

AttributeAsInt

AttributeAsInt 1:

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

AttributeAsInt 2: Return value

Name

Type

AttributeAsInt

DINT

AttributeAsInt 3: Inputs

Name

Type

a

SXmlAttribute

Sample call:

nValue := fbXml.AttributeAsInt(xmlAttr);