Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
ContextMenu[CurrentContext][Queries][List] - list queries defined for context menu module
Calling Sequence
Queries[List]()
Description
The Queries[List] command lists the names of the queries that are available within this context menu module.
Each string in the list returned by Queries[List] is the name of a query defined for this context menu module with Queries[Add].
The associated procedure with a name in the returned list may be viewed using the Get command, or run with the Run command.
Examples of Queries[List]
newCM := ContextMenu:-New():
newCM:-Queries:-Add("set of size 3", proc(e) type(e, 'set') and evalb(nops(e)=3) end proc): newCM:-Queries:-Add("variables", proc(e) indets(e, 'name') end proc): newCM:-Queries:-Add("is_parseable", proc(e) try parse(e); true catch: false; end try; end proc):
List the names of the queries available in this context menu module.
newCM:-Queries[List]();
See Also
ContextMenu, ContextMenu[CurrentContext][Queries], Queries/Add, Queries/Get, Queries/Run
Download Help Document