|
AddVariable
int AddVariable ( string name, arg_type value
)
Return
Value
OK if successful;
otherwise FAIL.
Parameters
name
–variable
name.
value –variable
value.
Remarks
Defines variable and
assigns it a value.
Example
The following
example demonstrates the use of AddVariable .
AddVariable("nResult", 10)
Println(nResult
Script output:
10
|