defvar
defvar(s_varName[g_value] ) =>g_value/nil
Description
Defines a variable and assign it a value.The variable defined follows the scoping rule.
Arguments
|
Value to assign to the variable. If g_value is not given, |
Value Returned
Examples
The following example assigns x a value of 3.
defvar(x 3)
=> 3
Related Topics
Return to top