Framework:Choose: Difference between revisions
From CoPlanner 11
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
==[[Framework:Functions|Function]]== | ==[[Framework:Functions|Function]]== | ||
Choose(<Index>,<Value 1 to n>) | <span {{CoPFormel}}>Choose(<Index>,<Value 1 to n>)</span> | ||
| Line 22: | Line 22: | ||
==Example== | ==Example== | ||
FKT_Choose(FKT_GetLevel(‘PC/KST’,1),Green, Blue, Red)<br> | <span {{CoPFormel}}>FKT_Choose(FKT_GetLevel(‘PC/KST’,1),Green, Blue, Red)</span><br> | ||
Result is green. | Result is green. | ||
Revision as of 15:54, 6 March 2012
Function
Choose(<Index>,<Value 1 to n>)
| Parameter | Description |
| Index | Name of dimension |
| Value 1 to n | Returned value according to the index. |
Result
Returns the value 1 to n according to the index.
Example
FKT_Choose(FKT_GetLevel(‘PC/KST’,1),Green, Blue, Red)
Result is green.