Alternade words: Difference between revisions

m
→‎{{header|REXX}}: corrected two typos.
m (→‎{{header|REXX}}: added wording to the REXX section header.)
m (→‎{{header|REXX}}: corrected two typos.)
Line 2,072:
</pre>
 
===Versionversion 2===
This REXX version only handles the case (lowercase) of the dictionary being used, &nbsp; in this case, &nbsp; only lowercase words.
 
Line 2,078:
<lang rexx>/* REXX */
fid='d:\unix.txt'
cnt.=0 /* cnt.n -> words of lenghtlength n */
ww.=0 /* ww.* the words to be analyzed */
w.=0 /* w.word = 1 if word is in unix.txt */
Line 2,108:
Exit
split: Procedure
/* split the word inointo components */
Parse Arg w
s.=''