Method Summary | |
---|---|
void | #break() |
void | #const() |
void | #continue() |
void | #do while() loop |
void | #for() loop |
void | #for each in() loop |
void | #if() |
void | #if else() |
void | #label() Provides a statement with an identifier that you can refer to using a break or continue statement. |
void | #switch() |
void | #try catch() |
void | #try catch finally() |
void | #var() |
void | #while() loop |
Method Details |
---|
break |
void break () |
Replace with description |
Returns void |
Samplebreak |
const |
void const () |
Replace with description |
Returns void |
Sampleconst #; |
continue |
void continue () |
Replace with description |
Returns void |
Samplecontinue |
do while |
void do while () |
loop |
Returns void |
Sampledo { } while ( # ) |
for |
void for () |
loop |
Returns void |
Samplefor ( var i = 0 ; i < # ; i++ ) { } |
for each in |
void for each in () |
loop |
Returns void |
Samplefor ( var item in obj ) { } |
if |
void if () |
Replace with description |
Returns void |
Sampleif ( # ) { } |
if else |
void if else () |
Replace with description |
Returns void |
Sampleif ( # ) { } else { } |
label |
void label () |
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 |
Returns void |
Samplevar 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); } } |
switch |
void switch () |
Replace with description |
Returns void |
Sampleswitch( # ) { case: default: } |
try catch |
void try catch () |
Replace with description |
Returns void |
Sampletry { # } catch(#) { # } |
try catch finally |
void try catch finally () |
Replace with description |
Returns void |
Sampletry { # } catch(#) { # } finally { # } |
var |
void var () |
Replace with description |
Returns void |
Samplevar #; |
while |
void while () |
loop |
Returns void |
Samplewhile ( # ) { # } |