×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Super Contributor
    Join Date
    Mar 2003
    Posts
    2,426

    looping across wml and wmls

    Hi, I have code like the following ...

    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

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Posts
    2,426

    RE: looping across wml and wmls

    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.

    regards,
    Mario

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×