<CHOICE ...

    actions
    display_content

<CE VALUE=val task>
<CE VALUE=val task>
...
</CHOICE>

<CE> statements define individual items in a list defined with the <CHOICE> statement. To define a choice card, you use a <CHOICE> statement. The statement must include one or more <CE> statements defining the items on the list.

The Actions specified in the CHOICE block execute when the user presses a function key. If the choice item the user chooses specifies a task, the phone executes the task instead of these actions. See <ACTION> for more information.

The display content is formatted text to display above the list of items. Avoid using the <LINE> tag for this text; if you use it, text that exceeds the display width will be truncated.

<CE VALUE=val task>text   An item the user can choose. Val is an optional value the UP.Phone stores in the variable specified by the KEY option when the user chooses the item.

Task is an optional task to execute when the user chooses the item. It can include task options. If you specify a task for the item the user chooses, the phone executes the task instead of any actions you have specified at the card or deck level.

Text is a formatted text line that the UP.Phone displays on the item line. If you did not specify ALPHA for the choice method, the item's number is automatically prepended to the text. By default, the UP.Phone always displays the text in horizontal scrolling (<LINE>) mode. To make it wrap, insert a <WRAP> statement before the text.