PBSmodelling (version 2.68.8)

showAlert: Display a Message in an Alert Window

Description

Display an alert window that contains a specified message and an OK button for dismissing the window.

Usage

showAlert(message, title="Alert", icon="warning")

Arguments

message

message to display in alert window

title

title of alert window

icon

icon to display in alert window; options are "error", "info", "question", or "warning".

Author

Anisa Egeli, Vancouver Island University, Nanaimo BC

See Also

getYes

Examples

Run this code
if (FALSE) {
local(envir=.PBSmodEnv,expr={
  showAlert("Hello World!")
})
}

Run the code above in your browser using DataCamp Workspace