Framework:Choose: Difference between revisions

From CoPlanner 11
Jump to navigationJump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


<span {{CoPFormel}}>Choose(<Index>,<Value 1 to n>)</span>
<span {{CoPFormel}}>Choose(<Index>,<Value 1 to n>)</span>


{| class="wikitable" width="80%"
{| class="wikitable" width="80%"
Line 15: Line 14:
|Returned value according to the index.
|Returned value according to the index.
|}
|}
This function belongs to [[:Category:Functions_-_client-side|client-side functions]].


==Result==
==Result==
Returns the value 1 to n according to the index.
Returns the value 1 to n according to the index.


==Example==
==Example==
<span {{CoPFormel}}>FKT_Choose(FKT_GetLevel(‘PC/KST’,1),Green, Blue, Red)</span><br>
<span {{CoPFormel}}>FKT_Choose(FKT_GetLevel(‘PC/KST’,1),Green, Blue, Red)</span><br>
Result is green.
Result is green.
Line 27: Line 25:
__NOEDITSECTION__  
__NOEDITSECTION__  


[[Category:Functions|Choose]]
[[Category:Functions - client-side|Choose]]
[[Category:Functions - client-side|Choose]]
[[de:Framework:Choose]]
[[de:Framework:Choose]]

Latest revision as of 08:43, 24 May 2012

Function

Choose(<Index>,<Value 1 to n>)

Parameter Description
Index Name of dimension
Value 1 to n Returned value according to the index.

This function belongs to client-side functions.

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.