WritePreferenceDouble

Family: Preference · One form

What it does

WritePreferenceDouble takes key (a string) and value (a float), and returns nothing.

Syntax

WritePreferenceDouble(key string, value float)

Parameters

NameType
keystring
valuefloat

Every form returns

nothing

Example · generated

WritePreferenceDouble("score", 1.0)DO  Sync()LOOP

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

27 commands in Preference