nidification of cicle work or not ?

Discussion in 'Questions (Windows Mobile)' started by gecomail, Nov 27, 2008.

  1. gecomail

    gecomail Member Licensed User

    Hi, i have use 2 for next cicle, the second inside the first like this :

    For a=0 to 100
    for b=0 to 200
    next b
    next a

    this code run but not execute the second
    i would like to know if i write a bad code or why this code not work good.
    thank all.:sign0085:
  2. klaus

    klaus Expert Licensed User

    It's strange, on my computer it works.

    But anyway, in B4PPC the code should be:
    For a=0 to 100
    For b=0 to 200
    No variable after the Next keyword !

    Best regards.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice