Contents

×

Suntan Special version 0.68

Suntan Special Broadband edition

choice

Suntan Special Function: choice

Choice presents a dialog containing up to five mutually exclusive items to the user.

Syntax:

selectedItem = choice(dialogName, instructions, default, item1, item2...)

Program Arguments

  1. dialogName - title line for VIO and the name of the tab on the Display Monitor
  2. instructions - instructions to the user; up to 900 characters
  3. default - value of the item that is initially selected
  4. item1, ... item5 - list of items

Returns:

string containing the selected item

Note:

The space available in the display monitor may be small in some video The text will be flowed onto the screen, wrapping as needed. If a hard line break is desired, use the '~' character, or the carriage return, ASCII value 13.

The space available in the display monitor may be small in some video modes, and the message display does not scroll. Make the message short and to the point.

Last Modified: 24 Dec 2019
Graphics by Colorful Language
Copyright 2019 by Blonde Guy