for loop in X++ Programming Language

 

Syntax


 
 for (i = initialValue; i < endValue ; i++) {
     // Loop body;
    Statement(s);
}


Example



// for loop example

static void Examples(Args _args)
{ 
    int i;

    for (i = 0; i < 10; i++) {
      info("Welcome to atnyla! ");
    }
}
<span style="color: white;">
</span>

Comments