Subversion Repositories wimsdev

Rev

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

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