JSONArraySize

Family: JSON · One form

What it does

JSONArraySize takes jsonValue (an integer), and answers an integer.

Syntax

JSONArraySize(jsonValue integer) → integer

Parameters

NameType
jsonValueinteger

Every form returns

integer

Example · generated

DO  Print(JSONArraySize(1))  Sync()LOOP

JSONArraySize 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