Difference between revisions of "Switch Icon Properties"

From Flowcode Help
Jump to navigationJump to search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<sidebar>Sidebar: Icon Properties</sidebar>
 
<sidebar>Sidebar: Icon Properties</sidebar>
[[File:Switch_Icon.gif]] &rarr; [[File:Gen_Switch_Icon_01.png]] &rarr; [[File:Gen_Switch_Properties_01.png]]
+
{| style="margin:auto; text-align:center;"
 +
|-
 +
|[[File:Btn_Switch.gif|border]]
 +
| width="50px" |&rarr;  
 +
|[[File:Gen_Switch_Flowchart_Icon_01.png]]  
 +
|width="50px" |&rarr;  
 +
|[[File:Gen_Switch_Icon_Properties_01.png]]
 +
|}
 +
 
 +
Switch icons are similar to [[Decision Icon Properties|decision icons]] only instead of two possible outcome branches (Yes, No) there are up to eleven.
  
Switch icons are similar to decision icons only instead of two possible outcome branches (Yes, No) there are up to eleven.
 
 
They are particularly useful for tailoring your program to react in different ways based on an input variable.
 
They are particularly useful for tailoring your program to react in different ways based on an input variable.
  
Line 18: Line 26:
 
'''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 24: Line 32:
  
 
Up to ten branches can be defined for the switch icon. The switch branches are enabled by ticking the tick boxes next to the values. The value in the case box is the value that is used to trigger that particular branch of the switch icon. If none of the values match the input parameter variable then the default branch of the switch case is used.
 
Up to ten branches can be defined for the switch icon. The switch branches are enabled by ticking the tick boxes next to the values. The value in the case box is the value that is used to trigger that particular branch of the switch icon. If none of the values match the input parameter variable then the default branch of the switch case is used.
 +
 +
 +
====Video instructions====
 +
 +
See the [http://www.youtube.com/watch?v=Op-l1YntjqY&list=PLQDWBb7bxuCgg6aJgPJcfXBMzZdLILceQ Switch] video to learn how to use the Switch icon to create various paths with different outcomes which are executed depending on the value of a variable.
 +
 +
<div align="center">
 +
{{#ev:youtube|Op-l1YntjqY|640}}
 +
</div>

Latest revision as of 15:01, 27 August 2013

<sidebar>Sidebar: Icon Properties</sidebar>

Btn Switch.gif Gen Switch Flowchart Icon 01.png Gen Switch Icon Properties 01.png

Switch icons are similar to decision icons only instead of two possible outcome branches (Yes, No) there are up to eleven.

They are particularly useful for tailoring your program to react in different ways based on an input variable.


Display Name

The name of the icon that appears on the flowchart.


Switch

This is the input parameter variable that is used to determine the branch of the switch that will be executed at run time.


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.


Case options

Up to ten branches can be defined for the switch icon. The switch branches are enabled by ticking the tick boxes next to the values. The value in the case box is the value that is used to trigger that particular branch of the switch icon. If none of the values match the input parameter variable then the default branch of the switch case is used.


Video instructions

See the Switch video to learn how to use the Switch icon to create various paths with different outcomes which are executed depending on the value of a variable.

{{#ev:youtube|Op-l1YntjqY|640}}