Talk:Ordered words: Difference between revisions
Content added Content deleted
(→Lexicographical order: lexicographical order bit me. -- ~~~~) |
m (→A bug in Rexx solution: added comments about lexicographical order of word list. -- ~~~~) |
||
Line 70: | Line 70: | ||
</pre> |
</pre> |
||
Expected result: 1 word of length 5. |
Expected result: 1 word of length 5. |
||
: My expectation is: 1 words of length 6. [I didn't think it would be necessary to add a pluralizer to this program, but in hindsight, I should have.] -- [[User:Gerard Schildberger|Gerard Schildberger]] 06:42, 14 July 2012 (UTC) |
|||
Suggested code change under wrong section. sorry. |
Suggested code change under wrong section. sorry. |
||
: "and is not meant for other object-oriented languages" |
: "and is not meant for other object-oriented languages" |
||
Line 75: | Line 78: | ||
:: When corrected as shown above it runs perfectly well with ooRexx |
:: When corrected as shown above it runs perfectly well with ooRexx |
||
--[[User:Walterpachl|Walterpachl]] 05:34, 14 July 2012 (UTC) |
--[[User:Walterpachl|Walterpachl]] 05:34, 14 July 2012 (UTC) |
||
::: I do not have an ooREXX (other than ROO!) available to check whether it runs under an object-oriented language (nor do I have an interest of doing so as I have often repeated), so I can't answer your query regarding ooRexx. -- [[User:Gerard Schildberger|Gerard Schildberger]] 06:42, 14 July 2012 (UTC) |
|||
Looking at the program again I noticed two typos |
Looking at the program again I noticed two typos |
||
EBCDICI should be EBCDIC |
EBCDICI should be EBCDIC |
||
and then should be than (2 places) |
and then should be than (2 places) |
||
I dare not change your program. |
I dare not change your program. |
||
: I had programmed the REXX example to expect a lexicographical ordered word list. I corrected the error. -- [[User:Gerard Schildberger|Gerard Schildberger]] 06:42, 14 July 2012 (UTC) |