Rev 8354 | Rev 14026 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3263 | bpr | 1 | Toutes les comparaisons sont faites sur des chaînes de caractères : |
5903 | bpr | 2 | <span class="tt wims_code_words">string1 rel string2</span>. |
8354 | bpr | 3 | Plusieurs comparaisons peuvent être reliées par les opérateurs <span class="tt wims_code_words">and</span> et <span class="tt wims_code_words">or</span>. |
8367 | bpr | 4 | Les parenthèses sont alors utilisées pour construire des expressions logiques complexes de comparaison. |
196 | bpr | 5 | |
3469 | bpr | 6 | :Relations |
7 | :Relation,Exemple,Signification |
||
3263 | bpr | 8 | |
3469 | bpr | 9 | :== |
8354 | bpr | 10 | string1 == string2 <br /> string1 = string2 |
11 | avec <span class="tt wims_code_words">if</span>: vrai si <span class="tt wims_code_words">string1</span> et <span class="tt wims_code_words">string2</span> sont identiques ; <br /> avec <span class="tt wims_code_words">ifval</span>: vrai si les évaluations numériques de <span class="tt wims_code_words">string1</span> et de <span class="tt wims_code_words">string2</span> sont égales. |
||
3469 | bpr | 12 | :!= |
8354 | bpr | 13 | string1 != string2 <br /> string1 <> string2 |
14 | avec <span class="tt wims_code_words">if</span>: vrai si <span class="tt wims_code_words">string1</span> et <span class="tt wims_code_words">string2</span> ne sont pas identiques ; <br /> avec <span class="tt wims_code_words">ifval</span>:vrai si les évaluations numériques de <span class="tt wims_code_words">string1</span> et de <span class="tt wims_code_words">string2</span> ne sont pas égales ; |
||
3263 | bpr | 15 | :< |
8354 | bpr | 16 | string1 < string2 |
5903 | bpr | 17 | vrai si l'évaluation numérique de <span class="tt wims_code_words">string1</span> est strictement inférieure à celle de <span class="tt wims_code_words">string2</span> |
3263 | bpr | 18 | :<= |
8354 | bpr | 19 | string1 <= string2 |
5903 | bpr | 20 | vrai si l'évaluation numérique de <span class="tt wims_code_words">string1</span> est inférieure ou égale à celle de <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 21 | :> |
8354 | bpr | 22 | string1 > string2 |
5903 | bpr | 23 | vrai si l'évaluation numérique de <span class="tt wims_code_words">string1</span> est strictement supérieure à celle de <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 24 | :>= |
8354 | bpr | 25 | string1 >= string2 |
5903 | bpr | 26 | vrai si l'évaluation numérique de <span class="tt wims_code_words">string1</span> est supérieure à celle <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 27 | :isin |
8354 | bpr | 28 | string1 isin string2 |
5903 | bpr | 29 | vrai si <span class="tt wims_code_words">string1</span> est une sous-chaîne de caractères de <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 30 | :notin |
8354 | bpr | 31 | string1 notin string2 |
5903 | bpr | 32 | vrai si <span class="tt wims_code_words">string1</span> n'est pas une sous-chaîne de caractères de <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 33 | :iswordof |
8354 | bpr | 34 | string1 iswordof string2 |
5903 | bpr | 35 | vrai si <span class="tt wims_code_words">string1</span> est un mot de <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 36 | :notwordof |
8354 | bpr | 37 | string1 notwordof string2 |
5903 | bpr | 38 | vrai si <span class="tt wims_code_words">string1</span> n'est pas un mot de <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 39 | :isvarof |
8354 | bpr | 40 | string1 isvarof string2 |
5903 | bpr | 41 | vrai si <span class="tt wims_code_words">string1</span> est une variable mathématique de l'expression <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 42 | :notvarof |
8354 | bpr | 43 | string1 notvarof string2 |
5903 | bpr | 44 | si <span class="tt wims_code_words">string1</span> n'est pas une variable mathématique de l'expression <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 45 | :isvariableof |
8354 | bpr | 46 | string1 isvariableof string2 |
5903 | bpr | 47 | vrai si <span class="tt wims_code_words">string1</span> est une variable mathématique de l'expression <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 48 | :notvariableof |
8354 | bpr | 49 | string1 notvariableof string2 |
5903 | bpr | 50 | vrai si <span class="tt wims_code_words">string1</span> n'est pas une variable mathématique de l'expression <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 51 | :isitemof |
8354 | bpr | 52 | string1 isitemof string2 |
5903 | bpr | 53 | vrai si <span class="tt wims_code_words">string1</span> est un item de la liste <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 54 | :notitemof |
8354 | bpr | 55 | string1 notitemof string2 |
5903 | bpr | 56 | vrai si <span class="tt wims_code_words">string1</span> n'est pas un item de la liste <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 57 | :islineof |
8354 | bpr | 58 | string1 islineof string2 |
5903 | bpr | 59 | vrai si <span class="tt wims_code_words">string1</span> est une ligne de <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 60 | :notlineof |
8354 | bpr | 61 | string1 notlineof string2 |
5903 | bpr | 62 | vrai si <span class="tt wims_code_words">string1</span> n'est pas une ligne de <span class="tt wims_code_words">string2</span>. |
3263 | bpr | 63 | :issamecase |
8354 | bpr | 64 | string1 issamecase string2 |
5903 | bpr | 65 | vrai si <span class="tt wims_code_words">string1</span> et <span class="tt wims_code_words">string2</span> sont les mêmes textes à des espaces multiples près, mais tenant compte de la casse des lettres. |
3263 | bpr | 66 | :notsamecase |
8354 | bpr | 67 | string1 notsamecase string2 |
5903 | bpr | 68 | vrai si <span class="tt wims_code_words">string1</span> et <span class="tt wims_code_words">string2</span> ne vérifient pas le critère ci-dessus. |
3263 | bpr | 69 | :issametext |
8354 | bpr | 70 | string1 issametext string2 |
5903 | bpr | 71 | vrai si <span class="tt wims_code_words">string1</span> et <span class="tt wims_code_words">string2</span> sont les mêmes textes à des espaces multiples près, à la casse près et aux lettres accentuées près. |
3263 | bpr | 72 | :notsametext |
8354 | bpr | 73 | string1 notsametext string2 |
5903 | bpr | 74 | vrai si <span class="tt wims_code_words">string1</span> et <span class="tt wims_code_words">string2</span> ne vérifient pas le critère précédent. |