What it does
WritePreferenceInteger takes key (a string) and value (an integer), and returns nothing.
Syntax
WritePreferenceInteger(key string, value integer)Parameters
| Name | Type |
|---|---|
| key | string |
| value | integer |
Every form returns
nothing
Example · generated
WritePreferenceInteger("score", 1)DO Sync()LOOPWritePreferenceInteger 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.