@@ -2,12 +2,12 @@ Name: >=
22
33Type: operator
44
5- Syntax: <value1> >= value2
5+ Syntax: <value1> >= < value2>
66
77Summary:
8- Compares two <value(glossary) |values> and <return|returns> true if the
9- first <value(function) > is greater than or equal to the second
10- <value(function) >, false otherwise.
8+ Compares two <value|values> and <return|returns> true if the
9+ first <value> is greater than or equal to the second
10+ <value>, false otherwise.
1111
1212Introduced: 1.0
1313
@@ -16,43 +16,54 @@ OS: mac, windows, linux, ios, android
1616Platforms: desktop, server, mobile
1717
1818Example:
19- 22 = 23
19+ put 22 >= 23
20+ -- evaluates to false
2021
2122Example:
22- myValue = 0
23+ local theCount
24+ if theCount >= 0 then
25+ go next card
26+ end if
2327
2428Parameters:
2529value1:
2630The operands value1 and value2 can be numbers, literal strings of
27- characters (delimited with double quotes), or any sources of value.
31+ characters (<delimit|delimited> with double quotes), or any sources
32+ of <value>.
33+
34+ value2:
35+ The operands value1 and value2 can be numbers, literal strings of
36+ characters (<delimit|delimited> with double quotes), or any sources
37+ of <value>.
2838
2939Description:
30- Use the = (greater than or equal to) <operator> to compare two numbers
40+ Use the > = (greater than or equal to) <operator> to compare two numbers
3141or to compare the alphabetical order of two <string|strings>.
3242
33- When comparing strings, the = <operator> compares the two <value|values>
43+ When comparing strings, the > = <operator> compares the two <value|values>
3444<character> by <character>, using the <ASCII|ASCII value> of each
3545<character>. For example, "z" comes after "a" in the <ASCII> <character
3646set>, so the following are all true:
3747
38- "z" ="z"
39- "z" = "a"
40- "zz" = "za"
48+ "z" > ="z"
49+ "z" > = "a"
50+ "zz" > = "za"
4151
4252
4353If the strings are of different lengths, so that the trailing characters
4454in one string are compared to missing characters in the other, the
45- missing characters are considered to have lower value than any
46- character. For example, "abc" = "ab".
55+ missing characters are considered to have lower < value> than any
56+ character. For example, "abc" > = "ab".
4757
48- If the <caseSensitive> <a> property</a > is true, the comparison between
58+ If the <caseSensitive> <property> is true, the comparison between
4959two <string|strings> treats uppercase letters as coming before lowercase
5060letters. If the <caseSensitive> <property> is false, the comparison is
5161not <case-sensitive>, so a is considered equivalent to A.
5262
53- References: max (function), value (function), property (glossary),
54- ASCII (glossary), value (glossary), return (glossary),
55- operator (glossary), string (glossary), character set (glossary),
56- case-sensitive (glossary), character (keyword), <= (operator),
57- > (operator), caseSensitive (property)
63+ References: > (operator), <= (operator), ASCII (glossary),
64+ case-sensitive (glossary), caseSensitive (property),
65+ character (keyword), character set (glossary), delimit (glossary),
66+ double quote (glossary), max (function), operator (glossary),
67+ property (glossary), return (glossary), string (glossary),
68+ value (glossary)
5869
0 commit comments