Hi Bill

Thanks for the quick feedback.

I looked at my code and the loop is not really that big, but within the
loop I uses many RUN commands which have their own loops. Do they all get
added into the same buffer space? is that the reason for this error?



Ajay



*From:* [email protected] [mailto:[email protected]] *On Behalf Of *Bill
Downall
*Sent:* Tuesday, March 26, 2013 12:53 PM
*To:* RBASE-L Mailing List
*Subject:* [RBASE-L] - Re: -ERROR- Too many commands in WHILE loop/WHILE
bufferfull ( 218)



Hi, Ajay!



The simplest way to get around this error with a huge WHILE loop is to
change the structure to a GOTO/LABEL structure:



From



WHILE a <> b THEN

...

ENDWHILE



To:



LABEL lbBegin

IF a = b THEN

  GOTO lbEnd

ENDIF

...



GOTO lbBegin

LABEL lbEnd



Bill



On Tue, Mar 26, 2013 at 12:39 PM, Ajay Sanghvi <[email protected]>
wrote:

I need help understanding the following error message. I have never
encountered this error before.



-ERROR- Too many commands in WHILE loop/WHILE buffer full ( 218)



Is there a setting that will allow me to increase the buffer size?





Ajay Sanghvi
Vice President

T (973) 748 8980 – EXT 833
F (973) 680 9618
E [email protected]
<Ajay%20Sanghvi%0bVice%20President%0b%0bT%20(973)%20748%208980%20–%20EXT%20833%0bF%20(973)%
20680%209618%0be%[email protected]>

[image: Description: Description: Description:
cid:[email protected]] <http://www.berjeinc.com/>

Reply via email to