Provides a statement with an identifier that lets you refer to it elsewhere in your program.
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.
Syntax
label :
statements
Parameters
Parameter | Description |
---|---|
label | Any MetaScript identifier that is not a reserved word. |
statements | Block of statements. break can be used with any labeled statement, and continue can be used with looping labeled statements. |