Name

change — Changes a list. Deprecated, use LIST[size(LIST)] = value.

Synopsis

list change ( list LIST ,
  any value );
 

Parameters

list LIST

any value

Return

list

Description

Before Code 9, this was used to change a list directly without creating a copy. Now it is a synonym for add.

Usage

  change ([1, 4], 8) -> [1, 4, 8]