Difference between revisions of "Switch ARCC EN"

From Ryzom Forge Wiki

Jump to: navigation, search
(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]]
|Nom interne de la fonction : ''' ''weCSwitch_v2'' '''
+
|Function name : ''' ''weCSwitch_v2'' '''
 
|}
 
|}
Cette fonction permet de proposer 10 branchements conditionnels + 1 par défaut en fonction d'une valeur fournie en premier paramètre de comparaison.
+
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)''' Valeur à analyser fournie par les paramètres locaux ou la base de données.
+
*'''1)''' Left value to be checked.
*'''2)''' Type de test (==, !=, <, >, <=, >=)
+
*'''2)''' Kind of test (==, !=, <, >, <=, >=)
*'''3)''' Valeur du test
+
*'''3)''' Right value of the test
*'''4)''' Action si le test est "Vrai". La dernière ligne donne l'action par défaut, c'est à dire quand tous les test précédent on donné "Faux".
+
*'''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> Nom interne de la fonction.  
+
*'''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 10:02, 19 September 2014

Switch

WIP
in Arbeit - work in progress - trabajo en curso - travaux en cours - незавершенное

Arrow switch.png Function name : weCSwitch_v2

This function allows 10 conditional branches + 1 default based on a value supplied as the first parameter of comparison.

WeCSwitch window
  • 1) Left value to be checked.
  • 2) Kind of test (==, !=, <, >, <=, >=)
  • 3) Right value of the test
  • 4) Action if the test is "True". The last line gives the default action, ie when all the previous tests were given "False".
  • 5) [commun] Internal name of the function. This name is used especially for jumps, loops ...

←ARCC Guide EN

Ryzom Wiki: Ryzom Commons | DE • EN • ESFRRU | Ryzom Forge