Time for an 2014 update…
This commit is contained in:
parent
372c577f83
commit
09687c4926
2520 changed files with 34227 additions and 7318 deletions
12
Task/String-comparison/Clipper/string-comparison-1.clipper
Normal file
12
Task/String-comparison/Clipper/string-comparison-1.clipper
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
IF s1 == s2
|
||||
? "The strings are equal"
|
||||
ENDIF
|
||||
IF .NOT. (s1 == s2)
|
||||
? "The strings are not equal"
|
||||
ENDIF
|
||||
IF s1 > s2
|
||||
? "s2 is lexically ordered before than s1"
|
||||
ENDIF
|
||||
IF s1 < s2
|
||||
? "s2 is lexically ordered after than s1"
|
||||
ENDIF
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
IF Upper(s1) == Upper(s2)
|
||||
? "The strings are equal"
|
||||
ENDIF
|
||||
Loading…
Add table
Add a link
Reference in a new issue