What can we improve?

Documentation

(Edit)

IPS_DeleteVariable

 boolean IPS_DeleteVariable (int $VariableID) 

Parameters

VariableID

ID of the variable

Returns

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

Description

This function deletes an existing variable with the ID VariableID.

A variable can only be deleted if it has no child objects.

Example

// Delete the variable 47788
IPS_DeleteVariable(47788);