JsonElement

Family: JSON · One form

What it does

JsonElement takes jsonValue (an integer) and index (an integer), and answers an integer.

Syntax

JsonElement(jsonValue integer, index integer) → integer

Parameters

NameType
jsonValueinteger
indexinteger

Every form returns

integer

Example · generated

DO  Print(JsonElement(1, 1))  Sync()LOOP

JsonElement is called and its answer is printed every frame. 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.

36 commands in JSON