Sudoku/REXX: Difference between revisions
no edit summary
m (corrected a misspelling of the REXX language (to the correct/official computer programming language name).) |
No edit summary |
||
Line 1:
{{collection|Sudoku}}
==[[REXX]]==
=== REXX version 1 ===
This is the
This REXX program was originally written to assist in sudoku puzzle solving (by giving strong hints), and not to solve the puzzle outright.
Line 11 ⟶ 10:
<br>and to partially solve the puzzle using distinct strategies (separately or in combination). One option is to solve the puzzle.
The help for the
The
The
The
The
Some older REXXes don't have a '''changestr''' BIF, so one is included here
REXX programs
<syntaxhighlight lang="rexx">
trace off
parse arg !
Line 829:
syntax: !sigl=sigl; call er 13,!fid(2) !fid(3) !sigl !cal() condition('D') sourceline(!sigl)
tem: parse arg r,c,w; if tellInvalid then say '***error!*** row' r", col" c '('@.r.c") is a duplicate of another in the same" w'.'; return 0
tg: arg tg; if simple then tg=simple(tg); call $t gridindent || tg; return</
Line 2,201:
Nop
End
Exit 12
</syntaxhighlight>
{{out}}
<pre>
|