Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > Siebel eScript Language Overview > Siebel eScript Statements > goto StatementThe goto statement redirects execution to a specific point in a function. SyntaxUsageYou can jump to any location within a function by using the goto statement. To do so, you must create a label—an identifier followed by a colon—at the point at which execution should continue. As a rule, goto statements should be used sparingly because they make it difficult to track program flow. ExampleThe following example uses a label to loop continuously until a number greater than 0 is entered: function clickme_Click () |
Siebel eScript Language Reference |