Complete Command
|
Command Completion for 2-D Math
|
|
The symbol and command completion feature can be used to enter mathematical symbols and Maple commands. When you type the first few letters of a symbol or command name and then choose Complete Command from the Tools menu (or use the shortcut key Esc), Maple displays a pop-up list of matching symbols and commands.
The command completion list can include command completion templates. These command completion templates offer calling sequences for Maple commands, making it easy to enter proper Maple syntax.
To use command completion:
1.
|
Begin entering a command in the document or worksheet in 2-D math mode.
|
2.
|
To list all Maple symbols, commands, functions, and packages that match the entered text, from the Tools menu select Complete Command, or use the shortcut key:
|
|
Esc, Macintosh, Windows, and UNIX
|
|
Ctrl + Shift + Space, UNIX
|
3.
|
If there is a unique completion, it is inserted. Otherwise, a list of matches is displayed. Select the correct completion from the list.
|
4.
|
If there are any placeholders in your selection, they will appear in a colored font. Replace the placeholders in the template, using Tab to move to the next placeholder.
|
•
|
For example, suppose you want to solve a differential equation with initial conditions. Type dsolve [Esc]. The command completion list appears:
|
•
|
Select dsolve(with initial conditions). Fill in the placeholders with your values:
|
–
|
Replace ODE with =.
|
–
|
Replace ICs with , =0.
|
–
|
Replace y with and x with .
|
•
|
The result is
|
|
|
Command Completion for Maple Input
|
|
As you enter a phrase in Maple Input (1-D math notation), the automatic command completion feature suggests a completion. Instead of typing an entire command, you can type the command partially in the worksheet and then insert the suggested command.
By default, automatic command completion is enabled. If it is not enabled:
1. From the Tools menu, select Options, and then click the Interface tab.
2. Select the Automatic command completion check box.
To use automatic command completion:
1.
|
Begin entering a command in Maple Input in the worksheet or document. Maple compares your entry with Maple packages, commands, and functions. If the entered text has a unique completion, the matching command name is displayed above the entry.
|
2.
|
You can continue typing the command or press Enter to insert the suggested command.
|
To turn off automatic command completion:
1. From the Tools menu, select Options, and then click the Interface tab.
2. Clear the Automatic command completion check box.
For information about command completion in TTY versions of Maple, see Command-Line Editing.
|
|