AINE: Accelerated Interactive Narrator Engine
  • Download
  • References
  • Games
  • Wiki
  • Facebook Twitter
  • Name

    for

  • Examples

    Player: {

    Event: Game_Start {
    for (this.i = 0; i < 4; i++){
    print(i)
    }

    /*
    Output:
    0
    1
    2
    3
    */
    }
    }
  • Description

    A loop which continues until expression evaluates to false. statement1 is executed once when beginning loop, while statement2 is executed at the end of each iteration.
  • Syntax

    • for(statement1; expression; statement2){}
  • Related

    • break

    • foreach

    • while

  • Contact
  • Terms of Use
  • GitHub
  • Drakkashi.com

The copyright of all images rendered by me goes to their respective owners.
© 2008 Daniel Svejstrup Christensen