WritePreferenceQuad

Family: Preference · One form

What it does

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

Syntax

WritePreferenceQuad(key string, value integer)

Parameters

NameType
keystring
valueinteger

Every form returns

nothing

Example · generated

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

WritePreferenceQuad 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