Goto:
4C Home
|
4C Docs
|
req4c Docs
|
req4c Function List
req4c_fetch_all_msgs()
req4c_fetch_all_msgs()
Purpose:
-
req4c_fetch_all_msgs() returns an array containing
all the info msgs on the current message list.
Usage:
-
-
$msgarray = req4c_fetch_all_msgs();
Arguments:
None
Returns:
-
false - No info messages in current message list
-
$msgarray - A numerically indexed array of all info msgs on the
current message list
Where Used:
-
req4c_fetch_all_msgs() can be called anytime there are
info messages on the current message list.
Example:
-
Description:
-
req4c functions that make requests to 4creqd may generate info messages.
These messages are kept on an internal list until another req4c function
call clears the list.
These messages may be helpful in debugging.
These messages include messages generated by a 4C program that
calls sys.message() or sys.msg().
Bugs/Features/Comments:
-
-
req4c_fetch_all_msgs() does not access the network
-
req4c_fetch_all_msgs() does not clear the message list,
but it does move the internal pointer for the current info msg.
See Also:
-
req4c_get_num_msgs()
-
req4c_fetch_next_msg()
-
req4c_get_num_errors()
-
req4c_fecth_next_error()
-
req4c_fetch_all_errors()
Back to Top