Function global
global varName value
global functionName formalArgs body
Creates a variable in the outermost context.
- Parameters:
- varName -
Symbol identifying the variable to be created in the outermost context.
- value -
The object for wich the variable will hold a reference.
- formalArgs -
List of symbols representing the function formal arguments, or
a symbol representing the list of formal arguments.
- body -
Code block object that will be used as the new function body.
- Returns:
-
The contents of the variable, that is, a reference to
value object.
-
Equivalent to the function define but
at the outermost context.
Report a bug or request new features
© 2002