parrotcode: Untitled | |
Contents | Language Implementations | TCL |
Utility multi-method to return the value of the variable specified.
If a single string param is passed, then we lookup a scalar.
If two params are passed, then we lookup a TclArray (first param) the value for a specific key (second param)
Use the call level to determine if we are referring to a global variable or a lexical variable - will no doubt require further refinement later as we support namespaces other than the default, and multiple interpreters.
|