Words from neighbour ones: Difference between revisions

Content added Content deleted
m (→‎{{header|REXX}}: added some wording to the REXX section header.)
Line 480: Line 480:


=={{header|REXX}}==
=={{header|REXX}}==
This REXX version doesn't care what order the words in the dictionary are in,   nor does it care what
<br>case &nbsp;(lower/upper/mixed)&nbsp; the words are in, &nbsp; the search for the words is &nbsp; ''caseless''.

It also allows the minimum length to be specified on the command line (CL) as well as the dictionary file identifier.
<lang rexx>/*REXX pgm finds words that're composed from neighbor words (within an identified dict).*/
<lang rexx>/*REXX pgm finds words that're composed from neighbor words (within an identified dict).*/
parse arg minL iFID . /*obtain optional arguments from the CL*/
parse arg minL iFID . /*obtain optional arguments from the CL*/