Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

CHOOSE( cChar, cChar_list, aArray [, nRow[, nCol ]] )

Purpose

Creates an on-the-spot menu from the characters in a string.

Arguments

     cChar -- default first character

     cChar_list -- string of legitimate characters

     aArray -- array of strings to menu

     nRow -- top row of menu, default is 5

     nCol -- top column of menu, defaults to centring the menu on the
              screen

Setup

Each character in cChar_list should parallel an element in
aArray.

Example

     LOCAL char   := " ", char_list := "HTE", ;
           array  := { " Here ", " There ", " Everywhere " }

     ? CHOOSE( char, char_list, array )

Returns

The character in cChar_list corresponding to the item selected from
aArray.

Side Effects

None.

Artful Calls

V_MENU, CENTRE, LONGEST

Source File

AA_CHOOS.PRG

See Also: V_MENU()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson