display a Maplet application that requests an expression - Maple Help

Online Help

All Products    Maple    MapleSim


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

Maplets[Examples][GetExpression] - display a Maplet application that requests an expression

Calling Sequence

GetExpression(opts)

Parameters

opts

-

equation(s) of the form option=value where option is one of caption, title, or width; specify options for the Maplet application

Description

• 

The GetExpression() calling sequence displays a Maplet application that prompts the user to enter an expression. This expression is returned to the Maple session.  If the user does not enter an expression, an exception is raised.

• 

The GetExpression 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.

  

 

  

caption = string

  

Specifies the text that prompts the user for an expression. By default, the caption is Enter an expression:.

  

 

  

title = string

  

Specifies the Maplet application title.  By default, the title is Get Expression.

  

 

  

width = posint

  

Specifies the input field width.  By default, the width is 30 characters.

Examples

withMaplets[Examples]:

f:=GetExpression

f:=y24y

(1)

g:=GetExpression

f:=ⅆⅆxyxyx2

(2)

See Also

GetExpression Sample Maplet, Maplets[Elements], Maplets[Examples], Overview of Maplet Applications


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam