goto: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 10: Line 10:
'''Type of returned value:'''
'''Type of returned value:'''


Nothing
[[Nothing]]


'''Description:'''
'''Description:'''


In script only: Go to given label.<br>
In script only: Go to given '''label'''.<br>
Note: String argument is used here.<br>
'''Note:''' String argument is used here.<br>
Be sure to use double quotes around label name in goto.
Be sure to use double quotes around label name in '''goto'''.




Line 26: Line 26:
'''Comments:'''
'''Comments:'''


Define the label with #.
Define the label with '''#'''.
 
Note that loops should always have a time delay.
Note that loops should always have a time delay.
Triggers poll every 0.5 seconds so you rarely need a loop faster than that.
Triggers poll every 0.5 seconds so you rarely need a loop faster than that.

Revision as of 11:06, 16 April 2006

back to COMREF

goto label


Operand types:

label: String

Type of returned value:

Nothing

Description:

In script only: Go to given label.
Note: String argument is used here.
Be sure to use double quotes around label name in goto.


Examples:

goto "Loop"


Comments:

Define the label with #.

Note that loops should always have a time delay.

Triggers poll every 0.5 seconds so you rarely need a loop faster than that.