DictionarySetFloat

Family: Dictionary · One form

What it does

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

Syntax

DictionarySetFloat(dictionary integer, key string, value float)

Parameters

NameType
dictionaryinteger
keystring
valuefloat

Every form returns

nothing

Example · generated

DictionarySetFloat(1, "score", 1.0)DO  Sync()LOOP

DictionarySetFloat 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