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