Error message R27.4 (AREV Specific)
At 27 NOV 1999 11:20:27PM Bob Silverstein wrote:
In AREV 3.12, I get a R27.4 error message with no details. The sysmessages file has R27.1, R27.2 and R27.3 but not R27.4. What does this error message mean?
Thanks.
At 27 NOV 1999 11:44PM akaplan@sprezzatura.com - [url=http://www.sprezzatura.com]Sprezzatura Group[/url] wrote:
This error means the program stack is full. This happens when you load too many programs onto the stack.
One way this happens is if you have many nested external subroutines, many nested TCL levels, or both.
A more common way is to have programs that use many {FIELD} references or many "FIELD" references in XLATES.
For the first, you'll need to make your programs expendable. For the second, you'll need to start referencing the fields by the field number.
akaplan@sprezzatura.com
At 06 DEC 1999 04:57PM Bob Silverstein wrote:
I never had this problem in DOS but only under Windows 98. What do you suggest?
At 07 DEC 1999 09:40AM akaplan@sprezzatura.com - [url=http://www.sprezzatura.com]Sprezzatura Group[/url] wrote:
Can't really think what would be different about the systems that would cause a problem. I suppose theoretically it's possible that some quirk in memory manager or something is causing the difference, but I really don't see it. The program stack is a hard coded R/BASIC dimensioned array set at 299. It would be like saying in DOS, my program works fine, but in Windows I can't access dimension 230. It's not like using extra low memory or even upper memory will change this since the space for the array is allocated well before you as the programmer have a chance to do anything.
Only suggestion I have is the same as for all R27.4 messages, remove {field} references in code, remove field names from XLates and make careful choices on adding EXPENDABLE to functions and subroutines. Placing this keyword in the right place can make a big difference in terms of memory. You also might want to see if you can get a copy of Cameron's cache_mfs, which you can use to cache some of the programs and dictionary items that will be made expendable by these actions.
akaplan@sprezzatura.com
At 08 DEC 1999 01:05AM Bob Silverstein wrote:
Thanks, Aaron, I will get your suggestions a try.