setValueRelative

Increments or decrements a numeric value by a specified amount.

Syntax

params.setValueRelative (OID, Index, Changein value);

Parameters

Parameter

Type

Required

Description

OID

String or Integer

Yes

The OID of the object of which you want to change the value.

Index

Integer

Yes

Position of data in the parameter.

Change in Value

Integer

Yes

Amount by which the value is incremented. To decrement the value, use a negative integer.

Returns

N/A

Example

Coming soon.