Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
12
Task/String-comparison/Harbour/string-comparison-1.harbour
Normal file
12
Task/String-comparison/Harbour/string-comparison-1.harbour
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
IF s1 == s2
|
||||
? "The strings are equal"
|
||||
ENDIF
|
||||
IF !( 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