Problem:
What is the cause of an "Accept recursion limit reached" message?
Resolution:
The reason for this message is the program processing an ACCEPT invokes another ACCEPT without finishing the previous one, and continues to follow this type of logic until the runtime reachs 10 pending ACCEPT's (it's limit).
This generally happens when in ACCEPT an event procedure procedure is invoked and the event procedure contains an ACCEPT.
This can be solved by using an exception procedure instead of an event procedure. Exception procedures do finish ACCEPT's.
Also, the program can force an ACCEPT to finish by moving either
EVENT-ACTION-TERMINATE or EVENT-ACTION-FAIL-TERMINATE to EVENT-ACTION.
There is a configuration varaible WARNING-ON-RECURSIVE-ACCEPTS that can be use to turn off the warning to the user when the limit is reached. By assigning this configuration variable a non-zero value it gives users the opportunity to continue at their own risk.
