thismaplet - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Maplets : Tools : Maplets/Tools/thismaplet

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;

withMaplets[Elements]:

mapletMapletTextField['TF1'],ButtonRun MyProc,Evaluate'TF1'=MyProc:

Maplets[Display]maplet

See Also

Maplets[Display]

Maplets[Elements][Button]

Maplets[Elements][Evaluate]

Maplets[Elements][TextField]

Maplets[Tools]

Overview of Maplet Applications

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam