Alert - Maple Help

Maplets[Examples]

 display an alert dialog Maplet application

 Calling Sequence Alert(msg, opts)

Parameters

 msg - string or symbol opts - equation(s) of the form title=value; specify options for the Maplet application

Description

 • The Alert(msg) calling sequence displays a Maplet application that contains a message.  The user can click OK or Cancel. The value returned is true or FAIL, respectively.
 • The Alert sample Maplet worksheet describes how to write a Maplet application that behaves similarly to this routine by using the Maplets[Elements] package.
 • The opts argument can contain one or more of the following equations that set Maplet application options.
 title = string or symbol
 Specifies the Maplet application title.  By default, the title is Alert.

Examples

 > $\mathrm{with}\left(\mathrm{Maplets}\left[\mathrm{Examples}\right]\right):$
 > $\mathrm{Alert}\left("Invalid input!"\right)$