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.
MyProc := proc() global x; x := thismaplet; "Okay"; end proc;
maplet ≔ Maplet⁡TextField'TF1'⁡,Button⁡Run MyProc,Evaluate⁡'TF1'=MyProc:
Overview of Maplet Applications
Download Help Document
What kind of issue would you like to report? (Optional)