What it does
SaveSharedVariable writes to an Extras object: it saves rather than reads. It takes varName (a string) and varValue (a string), and returns nothing.
Syntax
SaveSharedVariable(varName string, varValue string)Parameters
| Name | Type |
|---|---|
| varName | string |
| varValue | string |
Every form returns
nothing
Example · generated
SaveSharedVariable("player", "value")DO Sync()LOOPSaveSharedVariable 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.