thismaplet - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


thismaplet

 

Description

Examples

Description

• 

Each time a procedure is evaluated by using an Evaluate action element, the global variable thismaplet is assigned the handle of the Maplet application that called the procedure. The handle is an identifier for the Maplet application.  After evaluation, the variable is reset to its previous value.

• 

The variable, thismaplet, can be copied and stored so that an Evaluate action element can refer to itself or another running Maplet application by assigning it to another variable.

Examples

MyProc := proc() global x; x := thismaplet; "Okay"; end proc;

withMapletsElements:

mapletMapletTextFieldTF1,ButtonRun MyProc,EvaluateTF1=MyProc:

MapletsDisplaymaplet

See Also

Maplets[Display]

Maplets[Elements][Button]

Maplets[Elements][Evaluate]

Maplets[Elements][TextField]

Maplets[Tools]

Overview of Maplet Applications