Framework:Choose: Difference between revisions

From CoPlanner 11
Jump to navigationJump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
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>


 
{| class="wikitable" width="80%"
{| cellspacing="1" cellpadding="3" width={{{breite|80%}}}  border="1"
|- {{Tabellentitel}}
|-
| Parameter  
| style=background-color:#f6f6f6 |'''Parameter'''
| Description
| style=background-color:#f6f6f6 |'''Description'''
|-
|-
|Index
|Index
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>
FKT_Choose(FKT_GetLevel(‘PC/KST’,1),Green, Blue, Red)<br>
Result is green.
Result is green.


__NOEDITSECTION__  
__NOEDITSECTION__  


[[Category:Functions|Choose]]
[[Category:Functions - client-side|Choose]]
[[Category:Functions - client-side|Choose]]
[[de:Framework:AxisSwitchAvailable]]
[[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.