CreateGradient

Family: Studio · One form

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

NameType
IDinteger
typeinteger

Every form returns

nothing

Example · generated

CreateGradient(1, 1)DO  Sync()LOOP

CreateGradient 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.

106 commands in Studio