Difference between revisions of "Switch ARCC EN"
From Ryzom Forge Wiki
(Created page with "<noinclude>{{tabLang|EN|DE|Switch ARCC EN|ES|Switch ARCC FR|RU}} ===Switch===</noinclude> {{WIP}} {| |32px |Nom interne de la fonction : ''' ''weCS...") |
|||
Line 4: | Line 4: | ||
{| | {| | ||
|[[File: Arrow switch.png|32px]] | |[[File: Arrow switch.png|32px]] | ||
− | | | + | |Function name : ''' ''weCSwitch_v2'' ''' |
|} | |} | ||
− | + | This function allows 10 conditional branches + 1 default based on a value supplied as the first parameter of comparison. | |
<div style="overflow: hidden"> | <div style="overflow: hidden"> | ||
[[File: WeCSwitch.png|200px|thumb|left| WeCSwitch window ]] | [[File: WeCSwitch.png|200px|thumb|left| WeCSwitch window ]] | ||
− | *'''1)''' | + | *'''1)''' Left value to be checked. |
− | *'''2)''' | + | *'''2)''' Kind of test (==, !=, <, >, <=, >=) |
− | *'''3)''' | + | *'''3)''' Right value of the test |
− | *'''4)''' Action | + | *'''4)''' Action if the test is "True". The last line gives the default action, ie when all the previous tests were given "False". |
− | *'''5)''' <span style="color:#f0f">'''[commun]'''</span> | + | *'''5)''' <span style="color:#f0f">'''[commun]'''</span> Internal name of the function. This name is used especially for jumps, loops ... |
</div> | </div> | ||
<noinclude> | <noinclude> |
Revision as of 09:02, 19 September 2014
Switch
WIP
in Arbeit -
work in progress -
trabajo en curso -
travaux en cours -
незавершенное
Function name : weCSwitch_v2 |
This function allows 10 conditional branches + 1 default based on a value supplied as the first parameter of comparison.