DictionarySetString

Family: Dictionary · One form

What it does

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

Syntax

DictionarySetString(dictionary integer, key string, value string)

Parameters

NameType
dictionaryinteger
keystring
valuestring

Every form returns

nothing

Example · generated

DictionarySetString(1, "score", "value")DO  Sync()LOOP

DictionarySetString 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