What it does
CreateGradient writes a value: it creates rather than reads. It takes ID (an integer) and type (an integer), and returns nothing.
Syntax
CreateGradient(ID integer, type integer)Parameters
| Name | Type |
|---|---|
| ID | integer |
| type | integer |
Every form returns
nothing
Example · generated
CreateGradient(1, 1)DO Sync()LOOPCreateGradient 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.