ContextMenu[CurrentContext][Queries][Get] - get procedure associated with query
|
Calling Sequence
|
|
Queries[Get](nm)
|
|
Parameters
|
|
nm
|
-
|
string; name of query in context menu module
|
|
|
|
|
Description
|
|
•
|
The Queries[Get] command returns the procedure associated with the query named nm in the context menu module. This command may be used to examine the procedure associated with nm, or to apply this procedure directly to some object, for example, to map over a list.
|
|
|
Examples of Queries[Get]
|
|
>
|
with(ContextMenu[CurrentContext]):
|
|
Get the procedure associated with the query named "Variables".
|
>
|
q := Queries[Get]("Variables");
|

| (1) |
|
Map this procedure over a list.
|
>
|
map(q, [1, x, x*y*z^2]);
|
| (2) |
|
|
Download Help Document
Was this information helpful?