Sudoku/REXX: Difference between revisions
Content added Content deleted
m (→$SUDOKU.REX: added whitespace, changed and added comments, split multiple-statement lines, made more readable.) |
(→$SUDOKU.REX: included more links, rewrote the REXX program is use a more flexible parameter specification.) |
||
Line 1: | Line 1: | ||
==$SUDOKU.REX== |
==$SUDOKU.REX== |
||
This is the '''$SUDOKU.REX''' (REXX) program. |
This is the '''$SUDOKU.REX''' (REXX) program and is used to solve the Rosetta Code task of "sudoku". |
||
<br>The help for the '''$SUDOKU''' REXX program is included here ──► [[$SUDOKU.HEL]]. |
<br>The help for the '''$SUDOKU''' REXX program is included here ──► [[$SUDOKU.HEL]]. |
||
<br>The '''$SUDOKU.REX''' REXX program makes use of '''$ERR.REX''' REXX program which is used to display error messages (via '''$T.REX'''). |
|||
<br>The '''$ERR.REX''' REXX program is included here ──► [[$ERR.REX]]. |
<br>The '''$ERR.REX''' REXX program is included here ──► [[$ERR.REX]]. |
||
<br>The '''$SUDOKU.REX''' REXX program makes use of '''$T.REX''' REXX program which is used to display text messages. |
|||
<br>The '''$T.REX''' REXX program is included here ──► [[$T.REX]]. |
<br>The '''$T.REX''' REXX program is included here ──► [[$T.REX]]. |
||
<br>Some older REXXes don't have a '''changestr''' BIF, so one is included here ──► [[CHANGESTR.REX]]. |
|||
<lang rexx>/*REXX*/ trace off |
|||
<br>REXX programs not included are '''$H''' which shows '''help''' and other documentation. |
|||
<lang rexx>/*REXX program displays, can give hints, and/or solve a sudoku puzzle. */ |
|||
trace off |
|||
parse arg ! |
parse arg ! |
||
if !all(arg()) then exit |
if !all(arg()) then exit |