message

Declaration

message (text: STRING; code: MESSAGE_TYPE)

Description

Displays a small dialog box showing text above an OK button. The message type determines which kind of icon and/or sound is displayed/played with the dialog.

See Also

ask
show_about
system functions

Example

script save_profile is
  save_profile (user_name)
  if message_text <> '')
    -- error occurred
    message ('Error saving the profile', Message_error)
end