What it does
CreateSkeleton2D creates 2D on a Skeleton object. It takes iSkeleton (an integer), and returns nothing. That is the first of 2 forms.
Syntax
1
CreateSkeleton2D(iSkeleton integer)2
CreateSkeleton2D() → integerParameters
| Name | Type | In forms |
|---|---|---|
| iSkeleton | integer | 1 |
What each form returns
| 1 | CreateSkeleton2D(1) | nothing |
| 2 | skeleton2D = CreateSkeleton2D() | integer |
Example · generated
Form 1, you choose the id yourself
CreateSkeleton2D(1)DO Sync()LOOPForm 2, the command hands back the id
skeleton2D = CreateSkeleton2D()DO Sync()LOOPCreateSkeleton2D is called with values of the types its signature asks for. 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.