lastmaplet - Maple Help

lastmaplet

Description

 • Each time a Maplet application is displayed by using the Display procedure, the Maplet application is assigned to the global variable lastmaplet.  This means that the variable lastmaplet is assigned the Maplet application definition. The global variable lastmaplet can be used to debug or display the last displayed Maplet application.

Examples

 > $\mathrm{with}\left(\mathrm{Maplets}\left[\mathrm{Elements}\right]\right):$
 > $\mathrm{maplet}≔\mathrm{Maplet}\left(\left[\left["Hello world"\right]\right]\right):$
 > $\mathrm{assigned}\left(\mathrm{lastmaplet}\right)$
 ${\mathrm{false}}$ (1)
 > $\mathrm{Maplets}\left[\mathrm{Display}\right]\left(\mathrm{maplet}\right)$
 > $\mathrm{assigned}\left(\mathrm{lastmaplet}\right)$
 ${\mathrm{true}}$ (2)
 > $\mathrm{Maplets}\left[\mathrm{Display}\right]\left(\mathrm{lastmaplet}\right)$