Turtle, Observer, Patch

lput item [list of data]

Parameters:
item Integer the item that you are placing in the list
[list of data] List or string list of data that you are adding to

Description:
Returns the new value of [list of data] with item as its last element. The input list is not changed.

Examples:
lput 4 [1 2 3] returns [1 2 3 4].

Related Commands:
butfirst butlast first fput insert last reverse sentence