« Back to Product

Documentation

WriteAttributeInteger

Require: IP-Symcon >= 5.1

 boolean WriteAttributeInteger (string $Name, int $Value) 

Parameters

Name

Name of the attribute

Value

Value of the attribute

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

The function writes the value Value in the attribute with the name Name.

Warning

This function cannot be called in the Create method

Warning

Changed values, as opposed to properties, are available immediately

Example

$this->WriteAttributeInteger("SequenceCounter", 4);
Any questions?