message

Writes a message to a window message box.

Available in:

Apps (win) Apps (char) Reportwriter RPC Standalone PL
      X X

Syntax

string message(msg)
string         msg

Description

Writes specified text to the GUI message box.
msg specifies the text to write.
If no message box is open, msg is displayed in a dialog box and the user must acknowledge the message to continue.

Example

Indicates the number of database rows modified.
i = exec_sql("update staff set salary = salary *
             .75 where salary > :1",limit);
message(i^^ "rows updated");