Msgbox shows a message to the user and returns the button the user pressed.
Using one of the following constants you can change the Msgbox buttons and icon.
Syntax: Msgbox (Message String[, Title String[, Buttons[, Icon]]])
Buttons can be:
cMsgBoxAbortRetryIgnore
cMsgBoxOK
cMsgBoxRetryCancel
cMsgBoxYesNo
cMsgBoxYesNoCancel
Icon can be:
cMsgBoxAsterisk
cMsgBoxExclamation
cMsgBoxHand
cMsgBoxNone
cMsgBoxQuestion
Msgbox returns one of the following:
cAbort
cCancel
cIgnore
cOK
cNo
cRetry
cYes
Example:
r = Msgbox ("Do you wish to continue?", "Basic4ppc", cMsgboxYesNo,
cMsgboxQuestion)