DeleteVector3

Family: Maths · One form

What it does

DeleteVector3 writes a value: it deletes rather than reads. It takes vectorID (an integer), and returns nothing. vectorID is the id of a Vector object, obtained elsewhere in the Maths family.

Syntax

DeleteVector3(vectorID integer)

Parameters

NameType
vectorIDinteger

Every form returns

nothing

Example · generated

vector = CreateVector3()DeleteVector3(vector)DO  Sync()LOOP

CreateVector3 is there to give the call something to act on; DeleteVector3 is the line that matters. 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.

12 commands in Maths