Difference between revisions of "Loop Icon Properties"

From Flowcode Help
Jump to navigationJump to search
Line 1: Line 1:
 
<sidebar>Sidebar: Icon Properties</sidebar>
 
<sidebar>Sidebar: Icon Properties</sidebar>
 
[[File:Btn_Loop.gif]] &rarr; [[File:Gen_Loop_Flowchart_Icon.png]] &rarr; [[File:Gen_Loop_Icon_Properties.png]]
 
[[File:Btn_Loop.gif]] &rarr; [[File:Gen_Loop_Flowchart_Icon.png]] &rarr; [[File:Gen_Loop_Icon_Properties.png]]
 +
  
 
Loop icons are used to repeat a task until specified conditions are fulfilled, or to perform the loop a set number of times.
 
Loop icons are used to repeat a task until specified conditions are fulfilled, or to perform the loop a set number of times.
Note that you will need to add calculation icons that modify the variables used for the condition in order for the condition to be fulfilled.
+
 
 +
Note that you will need to add [[Calculation Icon Properties|calculation icons]] that modify the variables used for the condition in order for the condition to be fulfilled.
  
  
Line 13: Line 15:
 
'''Loop while'''
 
'''Loop while'''
  
Loops the program until the specified condition becomes true. Enter the conditions which will fulfil the loop.
+
Loops the program until the specified condition becomes true. Enter the conditions which will fulfill the loop.
 +
 
 
(Setting the test condition to something that is always true will make the loop repeat forever e.g. While 1)
 
(Setting the test condition to something that is always true will make the loop repeat forever e.g. While 1)
  
Line 19: Line 22:
 
'''Variables Arrow'''
 
'''Variables Arrow'''
  
Clicking on the down arrow brings up the variables dialog window allowing you to select an existing variable or to create a new one.
+
Clicking on the down arrow brings up the variables dialog window allowing you to select an existing variable or to [[Creating Variables|create a new one]].
  
  
Line 25: Line 28:
  
 
Select whether you wish the loop to be tested at the start or at the end of the loop.
 
Select whether you wish the loop to be tested at the start or at the end of the loop.
 +
 
Can be set to check the condition at the start of the loop or at the end of the loop.
 
Can be set to check the condition at the start of the loop or at the end of the loop.
 
  
  
Line 32: Line 35:
  
 
Sets the loop to loop through a set number of times.
 
Sets the loop to loop through a set number of times.
 +
 
Count must be a whole number between 1 and 255.
 
Count must be a whole number between 1 and 255.
  
Line 38: Line 42:
  
 
Sometimes a task needs to be repeated continually. One useful way of achieving this is to have an infinite loop.
 
Sometimes a task needs to be repeated continually. One useful way of achieving this is to have an infinite loop.
 +
 
Setting the test condition to something that is always true will make the loop repeat forever e.g. While 1
 
Setting the test condition to something that is always true will make the loop repeat forever e.g. While 1

Revision as of 14:49, 18 June 2013

<sidebar>Sidebar: Icon Properties</sidebar> Btn Loop.gifGen Loop Flowchart Icon.pngGen Loop Icon Properties.png


Loop icons are used to repeat a task until specified conditions are fulfilled, or to perform the loop a set number of times.

Note that you will need to add calculation icons that modify the variables used for the condition in order for the condition to be fulfilled.


Display Name

The name of the icon that appears on the flowchart.


Loop while

Loops the program until the specified condition becomes true. Enter the conditions which will fulfill the loop.

(Setting the test condition to something that is always true will make the loop repeat forever e.g. While 1)


Variables Arrow

Clicking on the down arrow brings up the variables dialog window allowing you to select an existing variable or to create a new one.


Test the loop at the:

Select whether you wish the loop to be tested at the start or at the end of the loop.

Can be set to check the condition at the start of the loop or at the end of the loop.


Loop count

Sets the loop to loop through a set number of times.

Count must be a whole number between 1 and 255.


Infinite loops

Sometimes a task needs to be repeated continually. One useful way of achieving this is to have an infinite loop.

Setting the test condition to something that is always true will make the loop repeat forever e.g. While 1