Child pages
  • Statements

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
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


HTML Table
classservoy sSummary
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Method Summary
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#break()
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#const()
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#continue()
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#do while()
loop
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#for()
loop
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#for each in()
loop
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#if()
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#if else()
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#label()
Provides a statement with an identifier that you can refer to using a break or continue statement.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#switch()
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#try catch()
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#try catch finally()
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#var()
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#while()
loop

HTML Table
idfunction
classservoy sDetail
Colgroup Tag
Column
padding0px
width100%

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan1
Method Details
Table Body (tbody)
idbreak
classnode
Table Row (tr)
idname
Table Cell (td)
break
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
break
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Replace with description
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
break
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idconst
classnode
Table Row (tr)
idname
Table Cell (td)
const
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
const
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Replace with description
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
const #;
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idcontinue
classnode
Table Row (tr)
idname
Table Cell (td)
continue
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
continue
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Replace with description
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
continue
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
iddo while
classnode
Table Row (tr)
idname
Table Cell (td)
do while
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
do while
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
loop
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
do
{
}
while ( # )
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idfor
classnode
Table Row (tr)
idname
Table Cell (td)
for
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
for
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
loop
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
for ( var i = 0 ; i < # ; i++ )
{
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idfor each in
classnode
Table Row (tr)
idname
Table Cell (td)
for each in
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
for each in
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
loop
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
for ( var item in obj )
{
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idif
classnode
Table Row (tr)
idname
Table Cell (td)
if
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
if
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Replace with description
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
if ( # )
{
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idif else
classnode
Table Row (tr)
idname
Table Cell (td)
if else
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
if else
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Replace with description
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
if ( # )
{
}
else
{
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idlabel
classnode
Table Row (tr)
idname
Table Cell (td)
label
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
label
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)

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)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
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);
	}
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idswitch
classnode
Table Row (tr)
idname
Table Cell (td)
switch
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
switch
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Replace with description
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
switch( # )
{
case:
default:
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idtry catch
classnode
Table Row (tr)
idname
Table Cell (td)
try catch
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
try catch
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Replace with description
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
try 
{
	#
}
 catch(#) 
{
	#
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idtry catch finally
classnode
Table Row (tr)
idname
Table Cell (td)
try catch finally
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
try catch finally
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Replace with description
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
try 
{
	#
}
 catch(#) 
{
	#
} finally 
{
	#
}
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idvar
classnode
Table Row (tr)
idname
Table Cell (td)
var
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
var
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Replace with description
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var #;
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idwhile
classnode
Table Row (tr)
idname
Table Cell (td)
while
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
while
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
loop
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
while ( # )
{
	#
}
Table Row (tr)
classlastDetailRow
Table Cell (td)