Subversion Repositories wimsdev

Rev

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

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