Framework:FKT Choose: Difference between revisions

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


<span {{CoPFormel}}>FKT_Choose(<Index>,<value 1 till n>)</span>
<span {{CoPFormel}}>FKT_Choose(<Index>,<value 1 till n>)</span>


{|class="wikitable" width="80%"
{|class="wikitable" width="80%"
Line 15: Line 14:
|the value to be returned corresponds to the index  
|the value to be returned corresponds to the index  
|}
|}
 
This function belongs to [[:Category:Functions_-_server-side|server-side functions]].


==Result==
==Result==
Provides the value 1 till n corresponding to the index  
Provides the value 1 till n corresponding to the index  


==Example==
==Example==
<span {{CoPFormel}}>FKT_Choose(FKT_GetLevel(‘PC/KST’,1),Green, Blue, Red)</span>
<span {{CoPFormel}}>FKT_Choose(FKT_GetLevel(‘PC/KST’,1),Green, Blue, Red)</span>
In this case the result would be green.
In this case the result would be green.
Line 29: Line 26:
__NOEDITSECTION__  
__NOEDITSECTION__  


[[Category:Functions|Choose]]
[[Category:Functions_-_server-side|Choose]]
[[Category:Functions_-_server-side|Choose]]
[[en:Framework:FKT Choose]]
[[en:Framework:FKT Choose]]

Latest revision as of 08:34, 24 May 2012

Function

FKT_Choose(<Index>,<value 1 till n>)

Parameter Description
Index name of the dimension
value 1 till n the value to be returned corresponds to the index

This function belongs to server-side functions.

Result

Provides the value 1 till n corresponding to the index

Example

FKT_Choose(FKT_GetLevel(‘PC/KST’,1),Green, Blue, Red) In this case the result would be green.