Framework:FKT Choose: Difference between revisions
From CoPlanner 11
Jump to navigationJump to search
Created page with '==Function== FKT_Choose(<Index>,<value 1 till n>) {| cellspacing="1" cellpadding="3" width={{{breite|80%}}} border="1" |- | style=background-color:#f6f6f6 |'''Parameter''' …' |
No edit summary |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
==Function== | ==[[Framework:Formulae#Functions|Function]]== | ||
FKT_Choose(<Index>,<value 1 till n>) | <span {{CoPFormel}}>FKT_Choose(<Index>,<value 1 till n>)</span> | ||
{|class="wikitable" width="80%" | |||
{| | |- {{Tabellentitel}} | ||
|- | | Parameter | ||
| | | Description | ||
| | |||
|- | |- | ||
|Index | |Index | ||
| 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> | |||
FKT_Choose(FKT_GetLevel(‘PC/KST’,1),Green, Blue, Red) | |||
In this case the result would be green. | In this case the result would be green. | ||
| Line 29: | Line 26: | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
[[Category: | [[Category:Functions|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.