====== new ======
===== Description =====
Create a new variable of the type provided and with the name provided.
===== Function prototype =====
hVar new
===== 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:del]]
* [[plugins:general:zeoscript:reference:functions:isdef]]