Value Control Effects

A set of standard effects for altering values.

Add

add %Object% to %Referent%
add "hello" to {list}

Adds the first value to the second, assuming it is a modifiable collection type.

This is not a maths effect. It is used for controlling lists and other collections.

Remove

remove %Object% from %Referent%
remove "hello" from {list}

Removes the first value from the second, assuming it is a modifiable collection type.

This is not a maths effect. It is used for controlling lists and other collections.

Set

set %Referent% to %Object%
set {var} to "hello"
set {number} to 6
set system property "blob" to "hello"

Sets the first expression to the second value. This will produce an error if the expression cannot be modified.

Not all expressions are modifiable.

Delete

delete %Referent%
delete system property "blob"

Deletes the value of the given expression. This will produce an error if the expression cannot be modified.

Not all expressions are modifiable.

Last updated