Error message 27.4 (AREV Specific)
At 04 APR 2001 12:38:30PM Bob Silverstein wrote:
What does error message 27.4 mean?
Thanks.
At 04 APR 2001 12:55PM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:
Specifically that you are trying to load more programs onto the program stack than it has been dimensioned for. AREV allows you to load up to 299 programs at a time. This includes all system programs. Note that a {} reference counts as one program.
Try to use less dictionary references - especially where you are referring just to field positions - eg if you just want field 4 say @Record rather than {WHATEVER_YOUVE_CALLED_FIELD4}.
World Leaders in all things RevSoft
At 04 APR 2001 01:55PM Bob Silverstein wrote:
Thanks for your prompt answer. Your answer makes sense. I will try it.
At 04 APR 2001 02:22PM Warren wrote:
Would have been nice if there was a way to pop the calculate/braces out of the program stack (expendable braces???)… maybe field_name or EXCALCULATE('FIELD_NAME') and they'd be expendable (execute then pop out) and have a function call to pop them out of the stack on demand…
At 04 APR 2001 03:50PM Don Miller - C3 Inc. wrote:
Hi Warren..
And wouldn't it be nice if the Tooth Fairy really did leave $100.00 bills. It's easy enough to remove subroutines & functions but a dictionary call would be difficult indeed. Think about R/LIST and all of that. One thing you can do, however, is to do your DICT calculates in an expendable subroutine which sets up sharable return data:
EXPENDABLE SUBROUTINE CALC_DICTS(@DICT,@RECORD,@ID,FIELDS,DATA_BACK)
* note that FIELDS could be delim by @FM or @FM
* parse it
k1=Count(FIELDS,@FM)+(FIELDS # "")
for i=1 to k1
DNAME=FIELDS[i]TEMP=CALCULATE(DNAME)DATA_BACK=TEMPDo your {calls} here and setup DATA_BACK (@FM-delim or whatever)NEXT i
RETURN
Note that if this is expendable, it MIGHT pop the dict calls off the stack. Don't know, but maybe worth a try.
Don Miller
C3 Inc.
At 04 APR 2001 04:27PM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:
That will work. The EXPENDABLE keyword causes the subroutine to be treated effectively as a main calling program so that when it exits, it and all it's called programs (subs and dict items) are dropped from the stack.
World Leaders in all things RevSoft
At 05 APR 2001 08:50AM Don Miller - C3 Inc. wrote:
Good golly Miss Molly .. sometimes things will work after all.
Don M.