Merci !!
J'avais pour habitude d'écrire
-if (varA==x, 0,1)
Avec cette nouvelle synthaxe, comment
1) spécifier des catégories (fourchettes) ?
if 18<varA<32 then varB=1, if 33<varA<65 then varB=2, if varA>65 then varB=3
2) donner plusieurs conditions imbriquées (avec du "OR")?
if varA= 1 OR 2 OR 3 then varB=1, if var A=4 OR 5 OR 6 then varB=2, etc.
j'ai écris : {if(varA == VR1 OR varA == VR2 OR varA == VR5, 2, (if(varB == VR4 or varB == VR3, 1, 0)))
'ai essayé par mal de choses, avec 1 seul =, avec 2 ==, etc. ca ne marche pas, ça renvoie "0"
merci beaucoup !!!
New user of LS but with the will to contribute to this great community !
The topic has been locked.