Changed

concerns

The Changed attribute can be used to verify that an index of the list has changed since the last rule check.

For local variables, the function always returns 0.

 

Syntax

Changed

Return value

Type

Description

ValueChanged

Value informing about the changing state of the variable

Parameter

None

Remark

The attribute is read-only

 

ValueChanged

Description

0 – IsNotChanged

The values of the variables have not been changed

1 – IsChanged

At least one value of the variable has been changed

2 – DoNotKnow

The retrieval could not be performed.

 

Example of a class variable Colors():

 

# Resets all Changed attributes

Server.CheckRules

 

MsgBox(Colors.Changed)

# Shows 0

 

Colors.Add({"red", "blue", "green"})

 

MsgBox(Colors.Changed)

# Shows 1

 

# Resets all Changed attributes

Server.CheckRules

 

MsgBox(Colors.Changed)

# Shows 0