Maplets[Examples] - Maple Programming Help

Home : Support : Online Help : Programming : Maplets : Examples : Maplets/Examples/Message

Maplets[Examples]

 Message
 display a Maplet application with a user message

 Calling Sequence Message(msg, opts)

Parameters

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

Description

 • The Message(msg) calling sequence displays a Maplet application with a message for the user.
 • The Message 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 Message.
 type = error, information, plain, or warning
 The message type.  By default, the type is plain.  This option determines the icon that is located left of the text.

Examples

 > $\mathrm{with}\left(\mathrm{Maplets}\left[\mathrm{Examples}\right]\right):$
 > $\mathrm{Message}\left("Hello world!"\right)$