VirtualButtonActive

Family: Input · One form

What it does

VirtualButtonActive writes a value: it sets rather than reads. It takes index (an integer) and active (an integer), and returns nothing.

Syntax

VirtualButtonActive(index integer, active integer)

Parameters

NameType
indexinteger
activeinteger

Every form returns

nothing

Example · generated

VirtualButtonActive(1, 1)DO  Sync()LOOP

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

95 commands in Input