Recent

Author Topic: New to Free Pascal, Need Beginner Code to Try Out  (Read 6609 times)

jimc52

  • Newbie
  • Posts: 1
New to Free Pascal, Need Beginner Code to Try Out
« on: December 31, 2013, 11:38:07 pm »
Hello everyone.  I am brand new to Lazarus and FPC.  I am a just beginning newbie, so please forgive my stupidity!

I am looking for beginner program examples I can try out using Lazarus and FPC.  My eyes get glazed over when I read all the technical details in the Lazarus and FPC manuals I have downloaded...I learn best when I can start with beginner example code and then have these technical manuals on the side to refer to.

So what I am asking for is your recommendations on which sites on the net have or contain open source beginner and intermediate Pascal examples that will work in Lazarus/FPC.  What are your favorite URL' s?
You may even be a programmer who has a URL with posted programming examples I could try out!  That is
great and would be of big help to me.

Perhaps there is a list of links to programmer sites using Lazarus/FPC that I could be referred to.  I tried out my Hello World example already, now I want more simple programs to try and study the syntax and language.  Any help or suggestions would be much appreciated!

Thank you!

Mike.Cornflake

  • Hero Member
  • *****
  • Posts: 1272
Re: New to Free Pascal, Need Beginner Code to Try Out
« Reply #1 on: December 31, 2013, 11:56:58 pm »
:-)  Welcome.

Are you new to programming and pascal, or are you just new to Lazarus?

The wiki is one place to start.  Mainly because it's a resource you'll over and over again.  Lots of info in that wiki.
http://wiki.freepascal.org/Lazarus_Tutorial

also

http://wiki.lazarus.freepascal.org/Category:Tutorials

LazPlanet has a series of well written examples.    I'm in the middle of going through their Rich Text article at the moment (a nice Christmas present for myself :-) )
Here's the best starting place for you. 
http://lazplanet.blogspot.com.au/p/getting-started.html

Shipping with Lazarus are a series of Example projects.   Available through Lazarus - Tools - Example Projects.   Rather than being learning tools in themselves, these examples are to show you different components work together.

And finally, right here is an excellent spot.  Get stuck, or have any questions, just yell :-)

Have fun :-)
« Last Edit: January 01, 2014, 12:09:17 am by Mike.Cornflake »
Lazarus Trunk/FPC latest fixes on Windows 11
  I'm getting old and stale.  Slowly getting used to git, I'll get there...

Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: New to Free Pascal, Need Beginner Code to Try Out
« Reply #2 on: January 01, 2014, 05:01:10 am »
Quote
So what I am asking for is your recommendations on which sites on the net have or contain open source beginner and intermediate Pascal examples that will work in Lazarus/FPC.  What are your favorite URL' s?
Quite small number of websites teach all Object Pascal features, mostly covers only the procedural features. However, worry no more. These are good websites / free e-books that I recommend:

edvard

  • Full Member
  • ***
  • Posts: 172
Re: New to Free Pascal, Need Beginner Code to Try Out
« Reply #3 on: January 01, 2014, 07:26:42 pm »
Being a bit new at this myself, I too can recommend the Getting Started book at link #3 ^^.

Also, understand that many things that apply to Delphi also apply to Lazarus, so Delphi documentation and tutorials also work well, and you'll eventually learn what stuff doesn't.
That said, some of my favorite reference material can be found at:
http://delphi.about.com/
http://delphibasics.co.uk/

And if you learn well from books, here's a couple of free e-books to go along with the above-mentioned:
Essential Pascal - Marco Cantu: Version 2 is given by the author as a free download here:
http://www.marcocantu.com/epascal/
Borland Delphi 7 Quickstart and Object Pascal reference pdfs at the bottom of This page:
http://docs.embarcadero.com/products/rad_studio/

Have fun!  8-)

All children left unattended will be given a mocha and a puppy.

Arch (though I may go back to Debian)| FreePascal 3.2.2 + Lazarus 2.2.4, GTK2+ and Qt.  Mostly Qt...


 

TinyPortal © 2005-2018