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

YESNO( cMsg_string[, nColour ] )

Purpose

Pop-Up dialog box to get Yes, No, or Cancel from the user.

Arguments

     cMsg_string -- message/question to display

     nColour -- if passed, colour to use; defaults to 9

Setup

None.

Example

     ? YESNO( "Erase this file" )

Returns

1 = Yes, 0 = No, -1 = Cancel or ESC

Side Effects

None.

Artful Calls

CENTRE, DRAW_BOX, PUSH/POP_SCR, GET/SET_KEYS

Source File

AA_YESNO.PRG

See Also: VERIFY() ASK_FOR()

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