Using the continue Statement in Loops in X++: Syntax and Examples

Rumman Ansari   Software Engineer   2024-07-09 04:26:36   6491  Share
Subject Syllabus DetailsSubject Details
☰ TContent
☰Fullscreen

Table of Content:

Syntax


 continue; 

Example


 // continue in for loop example

static void Examples(Args _args)
{ 
   int i ;
   for(i=1;i<=10;i++){
        if(i==5){
            continue;
        }
        info(strFmt("%1  ",i));
    }
}