L3DT users' wiki
Large 3D terrain generator

new

Description

Create a new variable of the type provided and with the name provided.

Function prototype

hVar new <int:VarID> <string:VarName>

Arguments

Name Type Comment
VarID int The variable type ID of the variable to be created.
VarName string The name of the new variable to be created.

Return value

A NULL variable handle if error, and a non-null variable handle otherwise.

Example

new int "i" // create a new integer called i

Comments

None.

See also

 
plugins/general/zeoscript/reference/functions/new.txt · Last modified: 2017/08/31 04:46 (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