Subversion Repositories wimsdev

Rev

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

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