SaveSharedVariable

Family: Extras · One form

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

NameType
varNamestring
varValuestring

Every form returns

nothing

Example · generated

SaveSharedVariable("player", "value")DO  Sync()LOOP

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

21 commands in Extras