March 2014 update
This commit is contained in:
parent
09687c4926
commit
a25938f123
1846 changed files with 21876 additions and 5203 deletions
3
Task/String-comparison/COBOL/string-comparison-1.cobol
Normal file
3
Task/String-comparison/COBOL/string-comparison-1.cobol
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
"hello" = "hello" *> equality
|
||||
"helloo" <> "hello" *> inequality
|
||||
"aello" < "hello" *> lexical ordering
|
||||
3
Task/String-comparison/COBOL/string-comparison-2.cobol
Normal file
3
Task/String-comparison/COBOL/string-comparison-2.cobol
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
FUNCTION STANDARD-COMPARE("hello", "hello") *> "="
|
||||
FUNCTION STANDARD-COMPARE("aello", "hello") *> "<"
|
||||
FUNCTION STANDARD-COMPARE("hello", "aello") *> ">"
|
||||
2
Task/String-comparison/COBOL/string-comparison-3.cobol
Normal file
2
Task/String-comparison/COBOL/string-comparison-3.cobol
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
"hello " = "hello" *> True
|
||||
X"00" > X"0000" *> True
|
||||
Loading…
Add table
Add a link
Reference in a new issue