Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 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