Baanboard.com

Go Back   Baanboard.com

User login

Frontpage Sponsor

Main

Poll
Would you like to see a separate forum on Baanboard for the ION product?
No
14%
Yes
86%
Total votes: 80

Baanboard at LinkedIn


Reference Content

 
The GOTO statement
By patvdv at 26 Feb 2008 - 21:56

The GOTO statement

The GOTO statement transfers control unconditionally to a specified point in the program. You use a label to indicate a position to which the statement can transfer control. The label name can consist of letters, digits, underscores [_], and periods [.]. It must begin with an alphabetic character.

Examples of labels:

 LABEL_1:
 START_OF_PROCESS_A:

Examples of GOTO statements:

 GOTO LABEL_1
 GOTO START_OF_PROCESS_A

Both the GOTO statement and the label to which it refers must be within the same function. You cannot transfer control to a label in another function.

Related topics



0
No votes yet


All times are GMT +2. The time now is 12:44.


©2001-2013 - Baanboard.com - Baanforums.com