Subversion Repositories wimsdev

Rev

Rev 11534 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11534 Rev 11538
Line -... Line 1...
-
 
1
All comparisons are made on strings: <span class="tt wims_code_words">string1 rel string2</span>.
-
 
2
Comparisons can be joined using <span class="tt wims_code_words">and</span> and
-
 
3
<span class="tt wims_code_words">or</span>. Parentheses may
-
 
4
be used to build complex comparison logics.
-
 
5
 
-
 
6
:Valid relations
-
 
7
:Relation,Condition
-
 
8
:==
-
 
9
string1 == string2 <br /> string1 == string2
1
!!provisoire --translate help/fr/if.phtml
10
with <span class="tt wims_code_words">if</span>: true if <span class="tt wims_code_words">string1</span> and <span class="tt wims_code_words">string2</span> are identical.<br /> with <span class="tt wims_code_words">ifval</span>: true if the numerical evaluations of <span class="tt wims_code_words">string1</span> and of <span class="tt wims_code_words">string2</span> are equal.
-
 
11
:!=
-
 
12
string1 != string2 <br /> string1 &lt;&gt; string2
2
!changeto help/fr/if.phtml
13
with <span class="tt wims_code_words">if</span>: true if <span class="tt wims_code_words">string1</span> and <span class="tt wims_code_words">string2</span> are NOT identical.<br /> with <span class="tt wims_code_words">ifval</span>: true if the numerical evaluations of <span class="tt wims_code_words">string1</span> and of <span class="tt wims_code_words">string2</span> are not equal.
-
 
14
:!=
-
 
15
:<
-
 
16
string1 < string2
-
 
17
true if (the numerical evaluation of) <span class="tt wims_code_words">string1</span> is < <span class="tt wims_code_words">string2</span>.
-
 
18
:<=
-
 
19
string1 <= string2
-
 
20
true if (the numerical evaluation of) <span class="tt wims_code_words">string1</span> is $m_le <span class="tt wims_code_words">string2</span>.
-
 
21
:>
-
 
22
string1 > string2
-
 
23
true if (the numerical evaluation of) <span class="tt wims_code_words">string1</span> is > <span class="tt wims_code_words">string2</span>.
-
 
24
:>=
-
 
25
string1 >= string2
-
 
26
true if (the numerical evaluation of) <span class="tt wims_code_words">string1</span> is $m_ge <span class="tt wims_code_words">string2</span>.
-
 
27
:isin
-
 
28
string1 isin string2
-
 
29
true if <span class="tt wims_code_words">string1</span> is a substring of <span class="tt wims_code_words">string2</span>.
-
 
30
:notin
-
 
31
string1 notin string2
-
 
32
true if <span class="tt wims_code_words">string1</span> is NOT a substring of <span class="tt wims_code_words">string2</span>.
-
 
33
:iswordof
-
 
34
string1 iswordof string2
-
 
35
true if <span class="tt wims_code_words">string1</span> is a word of <span class="tt wims_code_words">string2</span>.
-
 
36
:notwordof
-
 
37
string1 notwordof string2
-
 
38
true if <span class="tt wims_code_words">string1</span> is NOT a word of <span class="tt wims_code_words">string2</span>.
-
 
39
:isvarof
-
 
40
string1 isvarof string2
-
 
41
true if <span class="tt wims_code_words">string1</span> is a (mathematical) variable of the expression <span class="tt wims_code_words">string2</span>.
-
 
42
:notvarof
-
 
43
string1 notvarof string2
-
 
44
true if <span class="tt wims_code_words">string1</span> is NOT a (mathematical) variable of the expression <span class="tt wims_code_words">string2</span>.
-
 
45
:isvariableof
-
 
46
string1 isvariableof string2
-
 
47
true if <span class="tt wims_code_words">string1</span> is a (mathematical) variable of the expression <span class="tt wims_code_words">string2</span>.
-
 
48
:notvariableof
-
 
49
string1 notvariableof string2
-
 
50
true if <span class="tt wims_code_words">string1</span> is NOT a (mathematical) variable of the expression <span class="tt wims_code_words">string2</span>.
-
 
51
:isitemof
-
 
52
string1 isitemof string2
-
 
53
true if <span class="tt wims_code_words">string1</span> is an item of the list <span class="tt wims_code_words">string2</span>.
-
 
54
:notitemof
-
 
55
string1 notitemof string2
-
 
56
true if <span class="tt wims_code_words">string1</span> is NOT an item of the list <span class="tt wims_code_words">string2</span>.
-
 
57
:islineof
-
 
58
string1 islineof string2
-
 
59
true if <span class="tt wims_code_words">string1</span> is a line of the list <span class="tt wims_code_words">string2</span>.
-
 
60
:notlineof
-
 
61
string1 notlineof string2
-
 
62
true if <span class="tt wims_code_words">string1</span> is NOT a line of the list <span class="tt wims_code_words">string2</span>.
-
 
63
:issamecase
-
 
64
string1 issamecase string2
-
 
65
true if <span class="tt wims_code_words">string1</span> and <span class="tt wims_code_words">string2</span> are the same text by a comparison insensitive to multiple spaces but case-sensitive.
-
 
66
:notsamecase
-
 
67
string1 notsamecase string2
-
 
68
true if <span class="tt wims_code_words">string1</span> and <span class="tt wims_code_words">string2</span> are NOT the same text by a comparison nsensitive to multiple spaces but case-sensitive.
-
 
69
:issametext
-
 
70
string1 issametext string2
-
 
71
true if <span class="tt wims_code_words">string1</span> and <span class="tt wims_code_words">string2</span> are the same text by a comparison insensitive to cases, multiple spaces and accented letters.
-
 
72
:notsametext
-
 
73
string1 notsametext string2
-
 
74
true if <span class="tt wims_code_words">string1</span> and <span class="tt wims_code_words">string2</span> are NOT the same text by a comparison insensitive to cases, multiple spaces and accented letters.
-
 
75