get(x, envir=null, mode="any", inherits=false)
x
| a symbol (given as a quoted string). |
envir
| the environent to be used. |
mode
| the type of object sought. |
inherits
| should the enclosing frames of the environment be inspected? |
get searches the specified environment for a
bound symbol whose name is given by the string x.
If the value bound to the symbol is not of the correct
mode, that symbol is ignored.
If inherits is false, only the first frame
of the specified environment is inspected.
If inherits is true, the search is continued
up through the parent frames until a bound value of the right
mode is found.
Using a null environment is equivalent to using
the current environment.