Re: Learning Pascal
By: John Guillory to Darryl Dunnaway on Thu Jul 15 2010 07:42 pm
I just bought 4 different books on pascal off of Amazon the other day so could learn this language. I've been playing around with FreePascal and trying out a few things. So far it doesn't seem to be all that difficult Anyone got any major pointers on what I need to learn to write a few simp
If you have any kind of programming experience I can probably help you do
about anything you need to do as long as you stick to either Turbo Pascal
or Delphi Syntax. Virtual Pascal preferred as it's my main squeeze. ;-)
I've been playing with FreePascal with both the console IDE and the Lazarus windows IDE.
windows programs?
If your doing console programs or using the graph unit to do graphics on
windows, etc. cool. If your doing the windowproc method, find someone el
I've got samples I can dig up for win16, you may find samples in free
pascal, but beyond that I'm not your person... Not my cup of tea!
I'll most probably be doing strictly console work until I get a good grasp of the language. Then I'm looking at writing a couple of small apps for myself. As I come up with ideas for apps I write them down. Most of them would be small, specific, and most likely do one thing only, but do it fast and well.
If you stick to console mode, you can do a lot of powerful things in pascal. Depending on your flavor of pascal also depends on how well you can interfac with other languages. If you use Virtual Pascal and use VPSysLow for your m file i/o stuff, rather than the dos unit, you have added ability to write programs that are OS/2, Windows, and Linux compatible with a single source code....
FreePascal has that same portability. It's one of the reasons I chose it to work with. Write once, compile for many.
But what are you looking to do? Good to see some fresh ideas here....
I've got several things that I want to do, but first I need to learn the language. Like I stated earlier, I've been playing with it, done a couple of tutorials I found on the net, and I'll be reading the books I purchased just
as soon as they get here.
I figure I'll start with the easy stuff first, like the Hello World example I gave and then move on into the more "dramatic" stuff like the Windows API as
I gain knowledge and practice.
It's been years since I really looked at any code other than PHP, but so far I've been able to follow it. I'm looking forward to it.
**On a side note**
My wife thinks I'm nuts, called me a geek (normal), and rolled her eyes (also normal). So I wrote her a little program that printed the sentence:
"I may be a geek, but you married me."
...about 10,000 times. :)
I can't figure out why she changed her mind and called me a nerd.
LOL
Darryl
--- SBBSecho 2.12-Win32
* Origin: ION BBS -
telnet://ionbbs.com (1:396/75)