SetAttributeAsDouble

SetAttributeAsDouble 1:

This method sets the value of an attribute. The value here has the data type Double.

Syntax

METHOD SetAttributeAsDouble : SXmlAttribute
VAR_INPUT
  a     : SXmlAttribute;
  value : LREAL;
END_VAR

SetAttributeAsDouble 2: Return value

Name

Type

SetAttributeAsDouble

SXmlAttribute

SetAttributeAsDouble 3: Inputs

Name

Type

a

SXmlAttribute

value

LREAL

Sample call:

xmlAttr := fbXml.SetAttributeAsDouble(xmlExistingAttr, 42.42);