{hidden}
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE{hidden}
{sub-section:description|text=}{sub-section}\\
{table:id=|class=servoy sSummary}{colgroup}{column:width=80px|padding=0px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Method Summary{th}{tr}{tbody}{tr}{td}void{td}{td}[#break]\()
Break statement exits a loop.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#const]\()
Constant declaration.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#continue]\()
Continue statement, jumps to next iteration of the loop.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#do while]\()
do while loop{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#for]\()
for loop{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#for each in]\()
foreach loop{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#if]\()
If statement{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#if else]\()
If/Else statement.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#label]\()
Provides a statement with an identifier that you can refer to using a break or continue statement.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#switch]\()
Switch statement.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#try catch]\()
try/catch statement{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#try catch finally]\()
try/catch/finally statement{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#var]\()
Variable declaration{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#while]\()
while loop{td}{tr}{tbody}{table}\\
{table:id=function|class=servoy sDetail}{colgroup}{column:width=100%|padding=0px}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=break|class=node}{tr:id=name}{td}h6.break{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}break{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:break_des|trigger=button|text=}{sub-section}{sub-section:break_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:break_snc|trigger=button|text=}{sub-section}{sub-section:break_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:break_prs|trigger=button|text=}{sub-section}{sub-section:break_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:break_ret|trigger=button|text=}{sub-section}{sub-section:break_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:break_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:break_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:break_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:break_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:break_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:break_sam|trigger=none}{code:language=javascript}
break
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=const|class=node}{tr:id=name}{td}h6.const{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}const{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:const_des|trigger=button|text=}{sub-section}{sub-section:const_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:const_snc|trigger=button|text=}{sub-section}{sub-section:const_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:const_prs|trigger=button|text=}{sub-section}{sub-section:const_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:const_ret|trigger=button|text=}{sub-section}{sub-section:const_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:const_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:const_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:const_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:const_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:const_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:const_sam|trigger=none}{code:language=javascript}
const #;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=continue|class=node}{tr:id=name}{td}h6.continue{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}continue{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:continue_des|trigger=button|text=}{sub-section}{sub-section:continue_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:continue_snc|trigger=button|text=}{sub-section}{sub-section:continue_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:continue_prs|trigger=button|text=}{sub-section}{sub-section:continue_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:continue_ret|trigger=button|text=}{sub-section}{sub-section:continue_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:continue_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:continue_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:continue_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:continue_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:continue_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:continue_sam|trigger=none}{code:language=javascript}
continue
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=do while|class=node}{tr:id=name}{td}h6.do while{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}do while{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:do while_des|trigger=button|text=}{sub-section}{sub-section:do while_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:do while_snc|trigger=button|text=}{sub-section}{sub-section:do while_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:do while_prs|trigger=button|text=}{sub-section}{sub-section:do while_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:do while_ret|trigger=button|text=}{sub-section}{sub-section:do while_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:do while_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:do while_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:do while_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:do while_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:do while_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:do while_sam|trigger=none}{code:language=javascript}
do
{
}
while ( # )
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=for|class=node}{tr:id=name}{td}h6.for{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}for{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:for_des|trigger=button|text=}{sub-section}{sub-section:for_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:for_snc|trigger=button|text=}{sub-section}{sub-section:for_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:for_prs|trigger=button|text=}{sub-section}{sub-section:for_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:for_ret|trigger=button|text=}{sub-section}{sub-section:for_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:for_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:for_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:for_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:for_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:for_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:for_sam|trigger=none}{code:language=javascript}
for ( var i = 0 ; i < # ; i++ )
{
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=for each in|class=node}{tr:id=name}{td}h6.for each in{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}for each in{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:for each in_des|trigger=button|text=}{sub-section}{sub-section:for each in_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:for each in_snc|trigger=button|text=}{sub-section}{sub-section:for each in_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:for each in_prs|trigger=button|text=}{sub-section}{sub-section:for each in_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:for each in_ret|trigger=button|text=}{sub-section}{sub-section:for each in_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:for each in_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:for each in_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:for each in_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:for each in_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:for each in_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:for each in_sam|trigger=none}{code:language=javascript}
for ( var item in obj )
{
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=if|class=node}{tr:id=name}{td}h6.if{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}if{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:if_des|trigger=button|text=}{sub-section}{sub-section:if_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:if_snc|trigger=button|text=}{sub-section}{sub-section:if_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:if_prs|trigger=button|text=}{sub-section}{sub-section:if_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:if_ret|trigger=button|text=}{sub-section}{sub-section:if_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:if_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:if_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:if_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:if_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:if_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:if_sam|trigger=none}{code:language=javascript}
if ( # )
{
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=if else|class=node}{tr:id=name}{td}h6.if else{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}if else{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:if else_des|trigger=button|text=}{sub-section}{sub-section:if else_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:if else_snc|trigger=button|text=}{sub-section}{sub-section:if else_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:if else_prs|trigger=button|text=}{sub-section}{sub-section:if else_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:if else_ret|trigger=button|text=}{sub-section}{sub-section:if else_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:if else_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:if else_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:if else_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:if else_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:if else_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:if else_sam|trigger=none}{code:language=javascript}
if ( # )
{
}
else
{
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=label|class=node}{tr:id=name}{td}h6.label{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}label{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:label_des|trigger=button|text=}{sub-section}{sub-section:label_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:label_snc|trigger=button|text=}{sub-section}{sub-section:label_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:label_prs|trigger=button|text=}{sub-section}{sub-section:label_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:label_ret|trigger=button|text=}{sub-section}{sub-section:label_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:label_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:label_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:label_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:label_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:label_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:label_sam|trigger=none}{code:language=javascript}
var i = 0, j;
outer_loop: while (i < 10) {
i++;
j = 0;
while (j < 10) {
j++;
if (j > i) continue outer_loop;
application.output("i=" + i + ", j=" + j);
}
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=switch|class=node}{tr:id=name}{td}h6.switch{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}switch{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:switch_des|trigger=button|text=}{sub-section}{sub-section:switch_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:switch_snc|trigger=button|text=}{sub-section}{sub-section:switch_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:switch_prs|trigger=button|text=}{sub-section}{sub-section:switch_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:switch_ret|trigger=button|text=}{sub-section}{sub-section:switch_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:switch_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:switch_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:switch_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:switch_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:switch_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:switch_sam|trigger=none}{code:language=javascript}
switch( # )
{
case:
default:
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=try catch|class=node}{tr:id=name}{td}h6.try catch{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}try catch{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:try catch_des|trigger=button|text=}{sub-section}{sub-section:try catch_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:try catch_snc|trigger=button|text=}{sub-section}{sub-section:try catch_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:try catch_prs|trigger=button|text=}{sub-section}{sub-section:try catch_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:try catch_ret|trigger=button|text=}{sub-section}{sub-section:try catch_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:try catch_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:try catch_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:try catch_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:try catch_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:try catch_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:try catch_sam|trigger=none}{code:language=javascript}
try
{
#
}
catch(#)
{
#
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=try catch finally|class=node}{tr:id=name}{td}h6.try catch finally{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}try catch finally{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:try catch finally_des|trigger=button|text=}{sub-section}{sub-section:try catch finally_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:try catch finally_snc|trigger=button|text=}{sub-section}{sub-section:try catch finally_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:try catch finally_prs|trigger=button|text=}{sub-section}{sub-section:try catch finally_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:try catch finally_ret|trigger=button|text=}{sub-section}{sub-section:try catch finally_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:try catch finally_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:try catch finally_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:try catch finally_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:try catch finally_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:try catch finally_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:try catch finally_sam|trigger=none}{code:language=javascript}
try
{
#
}
catch(#)
{
#
} finally
{
#
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=var|class=node}{tr:id=name}{td}h6.var{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}var{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:var_des|trigger=button|text=}{sub-section}{sub-section:var_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:var_snc|trigger=button|text=}{sub-section}{sub-section:var_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:var_prs|trigger=button|text=}{sub-section}{sub-section:var_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:var_ret|trigger=button|text=}{sub-section}{sub-section:var_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:var_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:var_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:var_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:var_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:var_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:var_sam|trigger=none}{code:language=javascript}
var #;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=while|class=node}{tr:id=name}{td}h6.while{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}while{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:while_des|trigger=button|text=}{sub-section}{sub-section:while_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:while_snc|trigger=button|text=}{sub-section}{sub-section:while_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:while_prs|trigger=button|text=}{sub-section}{sub-section:while_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:while_ret|trigger=button|text=}{sub-section}{sub-section:while_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:while_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:while_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:while_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:while_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:while_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:while_sam|trigger=none}{code:language=javascript}
Div
style
display:none
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING. THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.
Enter additional information related to this 'class' inside the {div} macro with 'id=description'
Continue statement, jumps to next iteration of the loop.
Table Row (tr)
id
ret
Table Cell (td)
Returns
Div
class
sIndent
void
Table Row (tr)
id
sam
Table Cell (td)
Sample
Div
class
sIndent
Code Block
language
javascript
continue
Table Row (tr)
class
lastDetailRow
Table Cell (td)
Table Body (tbody)
id
do while
Table Row (tr)
id
name
Table Cell (td)
do while
Table Row (tr)
id
sig
Table Cell (td)
Span
style
margin-right: 5px;
void
Span
style
font-weight: bold;
do while
Span
()
Table Row (tr)
id
des
Table Cell (td)
Div
class
sIndent
do while loop
Table Row (tr)
id
ret
Table Cell (td)
Returns
Div
class
sIndent
void
Table Row (tr)
id
sam
Table Cell (td)
Sample
Div
class
sIndent
Code Block
language
javascript
do
{
}
while ( # )
Table Row (tr)
class
lastDetailRow
Table Cell (td)
Table Body (tbody)
id
for
Table Row (tr)
id
name
Table Cell (td)
for
Table Row (tr)
id
sig
Table Cell (td)
Span
style
margin-right: 5px;
void
Span
style
font-weight: bold;
for
Span
()
Table Row (tr)
id
des
Table Cell (td)
Div
class
sIndent
for loop
Table Row (tr)
id
ret
Table Cell (td)
Returns
Div
class
sIndent
void
Table Row (tr)
id
sam
Table Cell (td)
Sample
Div
class
sIndent
Code Block
language
javascript
for ( var i = 0 ; i < # ; i++ )
{
}
Table Row (tr)
class
lastDetailRow
Table Cell (td)
Table Body (tbody)
id
for each in
Table Row (tr)
id
name
Table Cell (td)
for each in
Table Row (tr)
id
sig
Table Cell (td)
Span
style
margin-right: 5px;
void
Span
style
font-weight: bold;
for each in
Span
()
Table Row (tr)
id
des
Table Cell (td)
Div
class
sIndent
foreach loop
Table Row (tr)
id
ret
Table Cell (td)
Returns
Div
class
sIndent
void
Table Row (tr)
id
sam
Table Cell (td)
Sample
Div
class
sIndent
Code Block
language
javascript
for ( var item in obj )
{
}
Table Row (tr)
class
lastDetailRow
Table Cell (td)
Table Body (tbody)
id
if
Table Row (tr)
id
name
Table Cell (td)
if
Table Row (tr)
id
sig
Table Cell (td)
Span
style
margin-right: 5px;
void
Span
style
font-weight: bold;
if
Span
()
Table Row (tr)
id
des
Table Cell (td)
Div
class
sIndent
If statement
Table Row (tr)
id
ret
Table Cell (td)
Returns
Div
class
sIndent
void
Table Row (tr)
id
sam
Table Cell (td)
Sample
Div
class
sIndent
Code Block
language
javascript
if ( # )
{
}
Table Row (tr)
class
lastDetailRow
Table Cell (td)
Table Body (tbody)
id
if else
Table Row (tr)
id
name
Table Cell (td)
if else
Table Row (tr)
id
sig
Table Cell (td)
Span
style
margin-right: 5px;
void
Span
style
font-weight: bold;
if else
Span
()
Table Row (tr)
id
des
Table Cell (td)
Div
class
sIndent
If/Else statement.
Table Row (tr)
id
ret
Table Cell (td)
Returns
Div
class
sIndent
void
Table Row (tr)
id
sam
Table Cell (td)
Sample
Div
class
sIndent
Code Block
language
javascript
if ( # )
{
}
else
{
}
Table Row (tr)
class
lastDetailRow
Table Cell (td)
Table Body (tbody)
id
label
Table Row (tr)
id
name
Table Cell (td)
label
Table Row (tr)
id
sig
Table Cell (td)
Span
style
margin-right: 5px;
void
Span
style
font-weight: bold;
label
Span
()
Table Row (tr)
id
des
Table Cell (td)
Div
class
sIndent
Provides a statement with an identifier that you can refer to using a break or continue statement.
For example, you can use a label to identify a loop, and then use the break or continue statements to indicate whether a program should interrupt the loop or continue its execution.
Table Row (tr)
id
ret
Table Cell (td)
Returns
Div
class
sIndent
void
Table Row (tr)
id
sam
Table Cell (td)
Sample
Div
class
sIndent
Code Block
language
javascript
var i = 0, j;
outer_loop: while (i < 10) {
i++;
j = 0;
while (j < 10) {
j++;
if (j > i) continue outer_loop;
application.output("i=" + i + ", j=" + j);
}
}