What it does
CopyArray writes a value: it copies rather than reads. It takes source (a void) and destination (a void), and answers an integer.
Syntax
CopyArray(source void, destination void) → integerParameters
| Name | Type |
|---|---|
| source | void |
| destination | void |
Every form returns
integer
Example · generated
array = CopyArray(0, 0)DO Sync()LOOPCopyArray is called and its answer is printed every frame. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.