Wrnbox

Wrnbox displays a popup windows with an information message.

This function is only usable in Classic pages related code and is deprecated for code running in version 7 mode.

Syntax

   Wrnbox MESSAGE_LIST
   Wrnbox MESSAGE_LIST Titled TITLE
   Wrnbox MESSAGE_LIST Titled TITLE Sleep TIME
   Wrnbox MESSAGE_LIST Sleep TIME

Examples

# The computation failed because no valid entry is there
 Call COMPUTATION(FORMULA,RESULT, ERROR)
  If ERROR=1
    Wrnbox "The following formula has been computed",FORMULA,
&          "with the following result",num$(RESULT)
&   Titled "Warning" Sleep 60
  Endif

Description

Wrnbox behaves as Endbox, but the popup looks different (exclamation mark on a yellow bar).
This instruction should be used only to display warning messages.

See also

Endbox, Errbox, Infbox, Qstbox, Selbox.