UpdateDeviceSize

Family: Core · One form

What it does

UpdateDeviceSize writes a value: it updates rather than reads. It takes w (an integer) and h (an integer), and returns nothing.

Syntax

UpdateDeviceSize(w integer, h integer)

Parameters

NameType
winteger
hinteger

Every form returns

nothing

Example · generated

UpdateDeviceSize(1, 1)DO  Sync()LOOP

UpdateDeviceSize 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