DeleteSharedVariable

Family: Extras · One form

What it does

DeleteSharedVariable removes an Extras object: after it, the id names nothing. It takes varName (a string), and returns nothing.

Syntax

DeleteSharedVariable(varName string)

Parameters

NameType
varNamestring

Every form returns

nothing

Example · generated

DeleteSharedVariable("player")DO  Sync()LOOP

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

Related commands

21 commands in Extras