Difference between revisions of "Label Icon Properties"
| Line 35: | Line 35: | ||
|- | |- | ||
|[[File:iconLabel.png|border]] | |[[File:iconLabel.png|border]] | ||
| + | | width="50px" |→ | ||
| + | |[[File:Gen_Connection_Point_Flowchart_Icon.png]] | ||
| width="50px" |→ | | width="50px" |→ | ||
|[[File:Properties_Label.png]] | |[[File:Properties_Label.png]] | ||
| Line 54: | Line 56: | ||
|- | |- | ||
|[[File:iconJump.png|border]] | |[[File:iconJump.png|border]] | ||
| + | | width="50px" |→ | ||
| + | |[[File:Gen_Goto_Connection_Point_Flowchart_Icon.png]] | ||
| width="50px" |→ | | width="50px" |→ | ||
|[[File:Properties_Jump.png]] | |[[File:Properties_Jump.png]] | ||
| Line 66: | Line 70: | ||
Select the connection point definition that you wish to jump to. This option is not available if the icon is the definition of the connection point rather than a jump. | Select the connection point definition that you wish to jump to. This option is not available if the icon is the definition of the connection point rather than a jump. | ||
| − | |||
== Example == | == Example == | ||
Latest revision as of 15:04, 10 June 2026
Label icons can be added anywhere in a Flowcode project and provide a way of identifying a particular location within the code.
Their main use is to link program flow from one part of a macro to another. This is achieved by using the Jump::Goto command icon, which performs an unconditional jump from the Jump command to an associates Label command.
Note: Using Jump::Goto commands is generally seen as bad programming practice and they should be avoided where possible. It makes projects more difficult to debug, and most well written programs will usually not need to use this icon.
Contents
Old Versions
This page is current for Flowcode v11 and later. Earlier versions can be found below:
| Flowcode v10 |
| Flowcode v9 |
| Flowcode v8 |
Note that in previous versions of Flowcode, the Label/Jump icons were called "Connection Points".
Details
When the program execution reaches the jump point, it jumps to the matching label and then continues execution.
Labels and Jump::Goto commands are used in pairs, part one is the Label icon - the point in the flowchart to jump to. Part two is the Jump::Goto icon - the point in the flowchart to jump from. Both parts share a connection letter - in this case 'A'. Several jump points can reference the same label.
Part one: the label icon
| → | → |
|
Display Name
The name of the icon that appears on the flowchart.
Label
The text that will be displayed on the connection point allowing for meaningful labels to be created.
Part two: the jump icon
| → | → |
|
Display Name
The name of the icon that appears on the flowchart.
Jump to Connection Point
Select the connection point definition that you wish to jump to. This option is not available if the icon is the definition of the connection point rather than a jump.
Example
This simple example shows an infinite loop.
When the program execution reaches the Jump command, it will unconditionally jump to the "My Label" command.
Any command icons below the Jump icon will not be executed, unless there is another jump to those locations.
Video
See the Label and Jump::Goto video to see how Labels and Jumps can be used in your Flowcode projects.


