Skip to main content
Version: Next

Copy list

Copy list ( list ) : Integer

ParameterTypeDescription
listIntegerReference to list to be copied
Function resultIntegerList reference number to duplicated list

This command is not thread-safe, it cannot be used in preemptive code.

Description

The Copy list command duplicates the list whose reference number you pass in list, and returns the list reference number of the new list.

After you have finished with the new list, call CLEAR LIST to delete it.

See also

CLEAR LIST
Load list
New list