Difference between revisions of "Label"
								
								Jump to navigation
				Jump to search
				
				
		
					
								
							
		| m | m | ||
| Line 1: | Line 1: | ||
| − | '''Label''' is a part of almost any script. It is a sequence of characters that identifies a specific location within the script. In [[Sanny Builder]] labels are denoted with a : (colon sign) as the first character. | + | '''Label''' is a part of almost any [[script]]. It is a sequence of characters that identifies a specific location within the script. In [[Sanny Builder]] labels are denoted with a : (colon sign) as the first character. | 
| A label name must contain only letters, digits and underscore sign (_). | A label name must contain only letters, digits and underscore sign (_). | ||
Revision as of 09:03, 28 February 2009
Label is a part of almost any script. It is a sequence of characters that identifies a specific location within the script. In Sanny Builder labels are denoted with a : (colon sign) as the first character.
A label name must contain only letters, digits and underscore sign (_).
Example:
:LabelLabels are widely used in scripts in unconditional and conditional jumps. To jump to specific label, you must use its name with a @ (at sign) as the first character.
Example:
0002: jump @LabelSanny Builder also has a feature to display a list of all labels used in source code when you press a @ button.

