Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
HelpCallBacksDefault.writeAttrib - handle an attribute change while displaying a help page
Calling Sequence
void writeAttrib( Object data, int attrib ) throws MapleException
Parameters
data
-
arbitrary data that was passed into the getHelp call
attrib
new attribute
Description
writeAttrib is a member function of the com.maplesoft.openmaple.HelpCallBacksDefault class. This class implements the HelpCallBacks interface.
This default implementation does nothing and returns false.
Examples
import com.maplesoft.openmaple.*;
import com.maplesoft.externalcall.MapleException;
class Example
{
public static void main( String notused[] ) throws MapleException
String mapleArgs[];
Engine engine;
mapleArgs = new String[1];
mapleArgs[0] = "java";
engine = new Engine( mapleArgs, new EngineCallBacksDefault(),
null, null );
engine.getHelp( "colon",
engine.MAPLE_HELP_ALL, new HelpCallBacksDefault(), 70, null );
}
Executing this code produces the following output.
Statement Separators
- The statement separators in Maple are semicolon (;) and colon (:).
- The semicolon is the normal statement separator.
- In an interactive Maple session, the result of the statement will
not be displayed if the statement is terminated with a colon.
- The two statement separators (semicolon and colon) are equivalent in
the case of statements nested one or more levels (inside if
-statements, do-statements, or procedures).
Important: When exporting a worksheet as Maple Input, your worksheet
must contain explicit semicolons and not auto-inserted ones. The
resulting exported .mpl file will not run in Command-line Maple with
auto-inserted semicolons.
> one := 0+1:
> two := one+1;
two := 2
See Also
worksheet,managing,exportMapleInput, statement
OpenMaple, OpenMaple/Java/Engine, OpenMaple/Java/Engine/getHelp, OpenMaple/Java/HelpCallBacks, OpenMaple/Java/HelpCallBacks/writeAttrib, OpenMaple/Java/HelpCallBacksDefault
Download Help Document