Sleep

Family: Core · One form

What it does

Sleep takes milliseconds (an integer), and returns nothing.

Syntax

Sleep(milliseconds integer)

Parameters

NameType
millisecondsinteger

Every form returns

nothing

Example · generated

Sleep(1)DO  Sync()LOOP

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

Related commands

200 commands in Core