DictionarySetInteger

Family: Dictionary · One form

What it does

DictionarySetInteger takes dictionary (an integer), key (a string) and value (an integer), and returns nothing.

Syntax

DictionarySetInteger(dictionary integer, key string, value integer)

Parameters

NameType
dictionaryinteger
keystring
valueinteger

Every form returns

nothing

Example · generated

DictionarySetInteger(1, "score", 1)DO  Sync()LOOP

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

17 commands in Dictionary