L3DT users' wiki
Large 3D terrain generator

del

Description

Delete a variable.

Function prototype

void del <varref:var>

Arguments

Name Type Comment
var varref A reference to the variable to be deleted.

Return value

None (void).

Example

int i // create a new variable 'i'

echo <zs:isdef "i"> // is 'i' defined? (it should be)

del i // delete 'i'

echo <zs:isdef "i"> // is 'i' still defined? (it should not be)

… the output of which is written to the event log by echo as:

true
false

Comments

None.

See also

 
plugins/general/zeoscript/reference/functions/del.txt · Last modified: 2017/08/31 07:24 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki