status

Writes a message to the window status line.

Available in:

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

Syntax

string status([wid,]msg)
string        msg
int           wid

Description

wid (optional) specifies the window number to use. Default is current window. If -1 is specified, msg is sent to all open window status lines.

msg specifies the message to send to window status lines.

Example

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