goto: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Removed the incorrect statement that loops should always have a time delay. Also removed the reference to triggers as it is misleading and irrelevant)
mNo edit summary
Line 22: Line 22:
'''Note:''' Be sure to use double quotes around label name in '''goto'''.
'''Note:''' Be sure to use double quotes around label name in '''goto'''.


Define the label with '''#'''.
Define the label with '''#'''. Labels are case-sensitive.




'''Example:'''
'''Example:'''


'''goto''' "Lablename"<br>
'''goto''' "Labelname"<br>
.<br>
.<br>
.<br>
.<br>
.<br>
.<br>
''#Lablename''
''#Labelname''

Revision as of 16:52, 22 May 2006


goto label


Operand types:

label: String

Type of returned value:

Nothing

Description:

In script only: Go to given label.

Note: Be sure to use double quotes around label name in goto.

Define the label with #. Labels are case-sensitive.


Example:

goto "Labelname"
.
.
.
#Labelname