extern function validate() { ... WMLBrowser.go("#renew" }
The card "renew" and the function validate() make a loop and are called repeatedly. The problem is that after 40 to 100 rounds, it does not run any more. Is it stack overflow? What is the proper way for looping? Thanks.
Eunsoo
Posted by Eunsoo Shim, eunsoo@ctr.columbia.edu
on June 19, 2000 at 16:48
RE: looping across wml and wmls
2002-05-15, 12:14#2
Posted by mario gianota, mariogianota@SimultaneousMillions.com
on June 20, 2000 at 12:45
Hi Eunsoo,
I've experienced the same kind of error. Like you, I diagnosed
a stack overflow error. What I've found is that when you are doing
this kind of loop its best to do it over *two* cards rather than just
one. It's a pain, and it messes up the readability of your code but it does work.