View previous topic :: View next topic
|
Author |
Message |
rohitcognizant
New User
Joined: 13 Feb 2007 Posts: 54 Location: Pune India
|
|
|
|
hi i ran a reex program which is quite big..
on execution it gave me an error
line 52 :control stack full
line 52 had an if condition loop
like
do i=1 to 30 by 1
if(v.i=' ')/****line 52*****/
then ref_var=1
end
wot could be the problem ?
i use if loop many times in the prog along wit do loops.could that be a problem? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
What exactly is your code doing, without seeing it we can only guess at why the problem occurs.
How much data do you have in your stem V.i
How much data are you trying to stack |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
1. Do you have any INTERPRET commands?
2. What is the level of nesting of loops/DOs?
O. |
|
Back to top |
|
|
rohitcognizant
New User
Joined: 13 Feb 2007 Posts: 54 Location: Pune India
|
|
|
|
hi all
i found that my rexx program was getting into an infinite loop when i give a particular input that was why the stack got full..For my info Is there any other instance where a control stack can get full??? |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
When you pass the nesting limit (250).
O. |
|
Back to top |
|
|
|