« Back to Product

Documentation

SetValue

Require: IP-Symcon >= 5.0

 boolean SetValue (string $Ident, variant $Value) 

Parameters

Ident

Ident of the status variable

Value

Value to be written into the status variable.

Returns

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

Description

This function writes the Value Value into the status variable with the Ident Ident.

Example

// Writes 123 into the status variable "Statusvariable1"
$this->SetValue("Statusvariable1", 123);
Any questions?