« POPE IV Home | Email msg. | Reply to msg. | Post new | Board info. Previous | Home | Next

Lazarus (Pascal) 

By: Decomposed in POPE IV | Recommend this post (1)
Mon, 20 Nov 17 10:36 PM | 62 view(s)
Boardmark this board | POPES NEW and Improved Real Board
Msg. 38935 of 47202
Jump:
Jump to board:
Jump to msg. #

I took a class on the Pascal programming language once, and even became decent with Turbo Pascal waaay back, in the days when DOS was king. I haven't used it much since the advent of Windows.

So, when I learned a few weeks ago that there is a really good free compiler available... one that is Turbo Pascal compatible (and even compatible with TP's successor, Delphi), I grabbed a copy

You can get it here, for Windows, linux or Apple. http://www.lazarus-ide.org/index.php?page=downloads

I was surprised how much I'd forgotten, so I bought an old Pascal book from AbeBooks.com ($3.95 including shipping) and spent the last three days re-learning the language and writing a program to solve Sudoku puzzles. (* I'm sure snapits would have loved it. *)

If you'd like to play with it, here's the program. It's called SudokuSolver3, by the way, because I backed up the code each day and started the next day with a new name.

If anyone gives it a try, let me know if you have any feedback.

*grumble* Looks like I'll need to break the code up into pieces or AtomicBobs won't let it post (due to its length). Just append the pieces together to make a single program... 




Avatar

Gold is $1,581/oz today. When it hits $2,000, it will be up 26.5%. Let's see how long that takes. - De 3/11/2013 - ANSWER: 7 Years, 5 Months


- - - - -
View Replies (1) »



» You can also:
« POPE IV Home | Email msg. | Reply to msg. | Post new | Board info. Previous | Home | Next