Pascal

Moderators: None (Apply to moderate this forum)
Number of threads: 4106
Number of posts: 14016

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Re: Sudoku solving program problems Posted by quikcarlx on 31 Aug 2012 at 1:06 PM
Looks fine except for some testing that you have. And why all the Begin .. end statements in loops that only have one statement. Just a lot of extra writing on your part.
I think you need to change these:
                           if rloop in [7..8] then
                              cell[cloop,rloop,7] := input[cloop,rloop];


                           if rloop in [7..9] then
                              cell[cloop,rloop,7] := input[cloop,rloop];


                            if rloop in [7..8] then
                              cell[cloop,rloop,8] := input[cloop,rloop];

                            if rloop in [7..9] then
                              cell[cloop,rloop,8] := input[cloop,rloop];

                            if rloop in [7..8] then
                              cell[cloop,rloop,9] := input[cloop,rloop];

                            if rloop in [7..9] then
                              cell[cloop,rloop,9] := input[cloop,rloop];

I have another program that I found on a european site that I altered for doing sudoku puzzles on screen.
Thread Tree
Swith Sudoku solving program problems on 30 Aug 2012 at 2:54 PM
quikcarlx Re: Sudoku solving program problems on 31 Aug 2012 at 12:58 PM
quikcarlx Re: Sudoku solving program problems on 31 Aug 2012 at 1:06 PM
Swith Re: Sudoku solving program problems on 2 Sept 2012 at 8:10 AM
Swith Re: Sudoku solving program problems on 2 Sept 2012 at 8:12 AM
Swith Re: Sudoku solving program problems on 2 Sept 2012 at 8:15 AM
quikcarlx Re: Sudoku solving program problems on 3 Sept 2012 at 6:24 PM



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.