Previous Topic

Next Topic

Book Contents

Book Index

Jumps and Labels

A jump statement transfers execution to another part of the script. The jump destination must be defined by a label that also appears in the script. The Progress example FireScripts use jumps to different code sequences from inside case statements, so the code that gets exedepends on which case was activated.

A label declaration consists of the word label, followed by the name of the label and a semi

A jump statement consists of the word jump, followed by the name of the jump destination, and a semicolon.

A label may not appear inside a case statement. You can't jump into a case statement.

See Also

FireScript Statements

Switch Statements

Case Statements

Examples of Case Statements

Continue

Return

Autodetect