VirtualResolution

Family: Core · One form

What it does

VirtualResolution writes a value: it sets rather than reads. It takes iWidth (an integer) and iHeight (an integer), and returns nothing.

Syntax

VirtualResolution(iWidth integer, iHeight integer)

Parameters

NameType
iWidthinteger
iHeightinteger

Every form returns

nothing

Example · generated

VirtualResolution(64, 64)DO  Sync()LOOP

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

200 commands in Core