Recent

Author Topic: Can anyone share your source code?  (Read 6278 times)

hawk

  • Newbie
  • Posts: 4
Can anyone share your source code?
« on: May 06, 2009, 06:44:00 am »
 Hi,everybody :)
I'm new to lazarus,and new to free pascal.
I need lots of source codes to study.I have google "free pascal source",but i could not find any.
So can anybody share your source codes.
I think it is a good idea if there is a forum doing this as "http://www.autoitscript.com/forum/index.php?showforum=9" do .
If there are some forums do that .Please tell me.
Sorry for my poor english.
« Last Edit: May 06, 2009, 06:51:02 am by hawk »

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2361
    • havefunsoft.com
Re: Can anyone share your source code?
« Reply #1 on: May 06, 2009, 07:52:25 am »
there're some sources at Lazarus/Examples
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

hawk

  • Newbie
  • Posts: 4
Re: Can anyone share your source code?
« Reply #2 on: May 06, 2009, 08:07:36 am »
Yes,I know but that is not enough

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 943
    • Burdjia
Re: Can anyone share your source code?
« Reply #3 on: May 06, 2009, 05:59:35 pm »
Which kind of applications are you looking for?
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal

hawk

  • Newbie
  • Posts: 4
Re: Can anyone share your source code?
« Reply #4 on: May 07, 2009, 06:43:20 am »
Which kind of applications are you looking for?
I just want to study free pascal and develop some applications under windows.
« Last Edit: May 07, 2009, 06:46:34 am by hawk »

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: Can anyone share your source code?
« Reply #5 on: May 07, 2009, 07:53:09 am »
To study free pascal, use the free pascal manuals. The unit reference manual also contains examples.

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 943
    • Burdjia
Re: Can anyone share your source code?
« Reply #6 on: May 07, 2009, 11:12:09 am »
Also the wiki has some tutorials.
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal

hawk

  • Newbie
  • Posts: 4
Re: Can anyone share your source code?
« Reply #7 on: May 08, 2009, 06:05:05 am »
OK,thanks.i will use the free pascal manuals.
But I still think it's a good idea if there are some forums like that.

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2361
    • havefunsoft.com
Re: Can anyone share your source code?
« Reply #8 on: May 08, 2009, 07:48:12 am »
OK,thanks.i will use the free pascal manuals.
But I still think it's a good idea if there are some forums like that.
[imho]
it's not possible to learn a programming language, just by studying other's sources.

Studying sources is usefull for experience programmers only. It's of pretty useless (and can be even dangerous) for unexperience programmers. Larger programs are created using advanced language features, like OOP or Interfaces. A lot of system features might be used like threads, that are not easy to understand for the newbie.

Learning a programming language require a big piece of practice first.
I'd suggest to learn the programming by creating small aps, using some basic tutorials.
When i started to learn Turbo Pascal, the first thing i wanted is to code simple Tetris game. When i came to delphi, the first thing i coded was the VCL-based Tetris game either :) After i moved to Lazarus, my first project was cross-platform (Win,Linux,OSX) Space Invaders (the difference from delphi is {$mode objfpc})

Creating smaller apps is fun and makes one to understand the language better.
[/imho]
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

t321

  • Newbie
  • Posts: 1
Re: Can anyone share your source code?
« Reply #9 on: January 26, 2020, 08:06:27 pm »
Is it possible for you to share your source code for Space Invaders?

lucamar

  • Hero Member
  • *****
  • Posts: 2403
Re: Can anyone share your source code?
« Reply #10 on: January 26, 2020, 08:25:35 pm »
I don't know about skalogryz's but a web search for -"space invaders" pascal- gives tons of results. Just saying 8)
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus 2.0.4/2.0.6  - FPC 3.0.4 on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

mr-highball

  • Full Member
  • ***
  • Posts: 113
    • Highball Github
Re: Can anyone share your source code?
« Reply #11 on: January 26, 2020, 11:52:54 pm »
Here's my repos
https://github.com/mr-highball

Also, you can search github for repos written just in pascal
https://github.com/search?utf8=%E2%9C%93&q=language%3Apascal&type=