Get - Maple Help

# Online Help

###### All Products    Maple    MapleSim

ContextMenu[CurrentContext][EntryGenerators]

 Get
 get the procedure or list associated with an entry generator

 Calling Sequence EntryGenerators[Get](Name)

Parameters

 Name - string; index of entry generator in context menu module

Description

 • The EntryGenerators[Get] command returns the procedure or list associated with the entry generator with the index Name.  This can be used to examine the entry generator.  To obtain a list of entry generators available in the context menu module, use the EntryGenerators[List] command.
 • The Name parameter is the index of the desired entry generator in the 'EntryGenerators' table.

Examples of EntryGenerators[Get]

 > with(ContextMenu[CurrentContext]):
 Get the procedure associated with the EntryGenerator named "Variables".
 > q := EntryGenerators[Get]("Variables");
 ${q}{:=}{\mathbf{proc}}\left({}\right)\phantom{\rule[-0.0ex]{0.5em}{0.0ex}}{\mathbf{try}}\phantom{\rule[-0.0ex]{0.5em}{0.0ex}}{\mathrm{GetEntries1}}{}\left({\mathrm{StandardContext}}{:-}{\mathrm{Queries}}{:-}{\mathrm{Run}}{}\left({"Variables"}{,}\left[{\mathrm{args}}\right]\right)\right)\phantom{\rule[-0.0ex]{0.5em}{0.0ex}}{\mathbf{catch}}{:}\phantom{\rule[-0.0ex]{0.5em}{0.0ex}}\phantom{\rule[-0.0ex]{0.5em}{0.0ex}}{\mathbf{end try}}\phantom{\rule[-0.0ex]{0.5em}{0.0ex}}{\mathbf{end proc}}$ (1)

 See Also