Student[Calculus1] - Maple Programming Help

Home : Support : Online Help : Education : Student Package : Calculus 1 : Single Stepping : Student/Calculus1/GetMessage

Student[Calculus1]

 GetMessage
 get the most recent Calculus1 message

 Calling Sequence GetMessage()

Description

 • Information messages (not errors) from routines in the Calculus1 package are produced using the Maple userinfo mechanism, as level 1 messages.  However, userinfo messages cannot be caught by programs.  To make these messages available to programs that call Calculus1 routines, the message body (and some additional information when relevant) is stored in an internal variable.  To obtain the value of this variable, which is the most recent message produced, use the GetMessage() command.

Examples

 > $\mathrm{with}\left(\mathrm{Student}[\mathrm{Calculus1}]\right):$
 > ${\mathrm{infolevel}}_{\mathrm{Student}[\mathrm{Calculus1}]}≔1:$
 > $\frac{{ⅆ}}{{ⅆ}x}\left({x}^{2}+x\right)$
 $\frac{{ⅆ}}{{ⅆ}{x}}{}\left({{x}}^{{2}}{+}{x}\right)$ (1)
 > $\mathrm{Rule}[\mathrm{*}]\left(\right)$
 Creating problem #1 Rule [product] does not apply
 $\frac{{ⅆ}}{{ⅆ}{x}}{}\left({{x}}^{{2}}{+}{x}\right){=}\frac{{ⅆ}}{{ⅆ}{x}}{}\left({{x}}^{{2}}{+}{x}\right)$ (2)
 > $\mathrm{GetMessage}\left(\right)$
 ${"Rule \left[product\right] does not apply"}{,}{\mathrm{Diff}}{,}\left[{\mathrm{product}}\right]$ (3)