Talk:Anagrams: Difference between revisions
Content added Content deleted
Walterpachl (talk | contribs) (→REXX: a >final< reply) |
Walterpachl (talk | contribs) (→REXX: an error in the program??) |
||
Line 183: | Line 183: | ||
:: You could have said: "thanks for making me improve my code (significantly) no matter what hardware is used." But he who exüects nothing shall not be disappointed. The example still exists in rosettacode'a history. --[[User:Walterpachl|Walterpachl]] ([[User talk:Walterpachl|talk]]) 11:40, 5 August 2013 (UTC) |
:: You could have said: "thanks for making me improve my code (significantly) no matter what hardware is used." But he who exüects nothing shall not be disappointed. The example still exists in rosettacode'a history. --[[User:Walterpachl|Walterpachl]] ([[User talk:Walterpachl|talk]]) 11:40, 5 August 2013 (UTC) |
||
There seems to be an error in the REXX code. Applying the program to a very small dictionary |
|||
<pre> |
|||
abc |
|||
acb |
|||
bac |
|||
bca |
|||
cab |
|||
cba |
|||
</pre> |
|||
yields |
|||
<pre> |
|||
------------------------------ 6 words in the dictionary file: u.txt |
|||
ABC ACB BAC BCA CAB |
|||
Found 1 words (each of which have 4 anagrams). |
|||
</pre> |
|||
whereas the ooRexx programs yield |
|||
<pre> |
|||
abc acb bac bca cab cba |
|||
</pre> |
|||
which is what I have expected. --[[User:Walterpachl|Walterpachl]] ([[User talk:Walterpachl|talk]]) 19:01, 5 August 2013 (UTC) |