symeval
symeval(s_symbol[e_environment] ) =>g_result
Description
Returns the value of the named variable.
symeval is slightly more efficient than eval and can be used in place of eval when you are sure that the argument being evaluated is indeed a variable name.
Arguments
|
If this argument is given, SKILL++ semantics is assumed. The variable name will be looked up within the given (lexical) environment. |
Value Returned
Examples
x = 5
symeval( 'x )
=> 5
symeval( 'y )
=> unbound ;Assumes y is unbound.
Related Topics
Return to top