Try OpenEdge Now
skip to main content
Developing WebSpeed Applications
WebSpeed API Reference : available-messages
 

available-messages

This function returns TRUE if there are any messages queued for a specified message group, or for all message groups.

Location

web\method\message.i

Parameters

INPUT p_grp AS CHARACTER
A known message group into which messages may have been queued with the queue-message API function. The Unknown value (?) matches all message groups.

Returns

LOGICAL

Notes

All queued messages are output after the Web object specified in the URL returns. As such, messages do not remain queued between requests.

Examples

See the PrintVars procedure in web\support\printval.p and the main block in web\objects\web-disp.p.

See also

get-messages
get-message-groups
output-messages
queue-message