APG
… an ABNF Parser Generator
|
This example will demonstrate the construction and use of the message log utility.
Within the APG applications and objects there are many times the need to maintain a log of messages. This object is a simple, but consistent method for logging multiple messages, whether error messages or warning messages or otherwise, with an iterator for retrieving them.
See vUtilPrintMsgs() for a utility that will display all messages in a message log object.
Application requirements.
The compiled example will execute the following cases. Run the application with no arguments for application usage.