Discussion Board

Results 1 to 2 of 2
  1. #1
    Super Contributor Nokia_Archive's Avatar
    Join Date
    Mar 2003
    Posts
    2,426
    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 Nokia_Archive's Avatar
    Join Date
    Mar 2003
    Posts
    2,426
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved