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
Engine.getHelp - access the Maple Help system
Calling Sequence
void getHelp( String topic, int section, HelpCallBacks hcb, int width, Object user_data ) throws MapleException
Parameters
topic
-
help page to return
section
section of the help page
hcb
call back methods used to return the page
width
maximum number of characters per line
user_data
arbitrary data to pass into the call backs
Description
The getHelp function provides access to the Maple help system. The help page section specified by section from the help page for topic is returned. The contents of the page are returned via the HelpCallBacks object. The user_data parameter is arbitrary data that is passed into the HelpCallBacks methods.
Each line written into the HelpCallBacks contains at most width characters.
The section parameter indicates which section of the help page should be returned. Valid values are: MAPLE_HELP_ALL, MAPLE_HELP_USAGE, MAPLE_HELP_DESCRIPTION, MAPLE_HELP_EXAMPLES and MAPLE_HELP_SEEALSO. The constants are defined in Engine.
Errors occurring during the processing of the help page are reported via the errorCallBack. Other errors cause a MapleException to be thrown.
Examples
import com.maplesoft.openmaple.*;
import com.maplesoft.externalcall.MapleException;
class Example
{
public static void main( String notused[] ) throws MapleException
String mapleArgs[];
Engine engine;
HelpCallBacks hcb;
mapleArgs = new String[1];
mapleArgs[0] = "java";
engine = new Engine( mapleArgs, new EngineCallBacksDefault(),
null, null );
hcb = new HelpCallBacksDefault();
engine.getHelp( "int", Engine.MAPLE_HELP_USAGE, hcb, 78, null );
}
Executing this code produces the following output.
Calling Sequences
int(expr, x)
Int(expr, x)
int(expr, x=a..b, ...)
Int(expr, x=a..b, ...)
expr - algebraic expression, the integrand
x - name
a,b - endpoints of interval on which integral is taken
opt - option, where opt is one of 'continuous', 'CauchyPrincipalValue',
or 'AllSolutions'
See Also
ExternalCalling/Java/MapleException, OpenMaple, OpenMaple/Java/API, OpenMaple/Java/Engine
Download Help Document