Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Free Pascal Tutorial 1 - The First Program - Lazarus (Hello World) Download

Loading...

Sign in or sign up now!
116,781
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 22, 2009

http://www.schoolfreeware.com
The Free Pascal Compiler is an open source compiler that is similar to Turbo Pascal. Pascal was originally designed as a teaching language for computers but it can be used to create commercial software and to perform complex mathematical operations.

Teachers should consider using Free Pascal for teaching computer programming because it works on all of the major platforms and school, library, and home computers can have Free Pascal installed at no charge. Pascal has a simple syntax that is English-like. This syntax makes Pascal easy to learn and use for both teachers and students. Because of these features, Free Pascal is ideal for educational settings.

The Free Pascal Compiler can be downloaded at : www.freepascal.org

The Free Pascal Compiler comes in 32 and 64 bit versions. It is available for Intel x86, AMD64 x86/64, PowerPC, PowerPC64, Sparc, and ARM processors. There an old version 1.0 that supports Motorola 68k processors.

The Operating System supported include Windows 95+, Windows 64 Bit OS, DOS, Mac OS X, Mac Classic OS, Darwin, Linux, Netware (libc and classic), OS/2, MorphOS. (Other operating system may be supported or become supported with new releases of free pascal)

Free Pascal also supports the following systems:
Game Boy Advanced
Nintendo DS


Note: The Mac X version of Free Pascal requires the development tools (Xcode) to be installed on the computer. Xcode can be found on the CD/DVD that came with the Mac or can be downloaded at Apples Developer Connection: http://developer.apple.com

For users who have Windows, Mac X, and Linux computers, there is an IDE called Lazarus. Lazarus is similar to Delphi and works with the Free Pascal Compiler to create GUI and console applications. Lazarus is free and can be downloaded at: www.lazarus.freepascal.org


This tutorial series will focus on using the Lazarus as the IDE on Windows. This tutorial series will start by using the console application of Free Pascal as maintained by Lazarus and then move to GUI applications once the syntax and logic are shown

This tutorial will show how to create and build a Hello World program.

  • likes, 14 dislikes

Link to this comment:

Share to:

Uploader Comments (SchoolFreeware)

  • can you help me plis when a run this text or program it, a have a massage c:\lazarus\fpc\2.2.4\bin\i386-­win32\windres.exe: can't open file `project1.manifest': No such file or directory

    what means this

  • @somebuke As a workaround, first save the project, then try running. This seems to happen with Window Vista 32 bit systems. The new version of Lazarus will be out in a few days of this post. It is suppose to fix this problem and many others.

  • why with writenl it tell me:

    project1.lpr(15,1) Error: Identifier not found "writenl"

    project1.lpr(15,8) Error: Illegal expression

    ???

  • @federicoslipknot1 you have a syntax error. The command is writeln not writenl.

  • i have free pascal ide,,but is very strange from yours..

    and also when i choose run is showing a message which says me that compile failed..;/

  • @Mra8ropos Try removing the line {$IFDEF WINDOWS}{$R project1.rc}{$ENDIF}. There is a bug in 9.28.2 where this line has to be removed to make it work

Top Comments

  • never heard my name that much in 1 clip,

see all

All Comments (92)

Sign In or Sign Up now to post a comment!
  • Im newbie to this,I instaled pascal on my laptop (win7,intel i3,x64) i have map 2.6.0 and i dont know how to open program.

  • Thanx For Your Videos , I Had Watch Them All, But i still have a problem how to evaluate an ARITHMETIC EXPRESSION with postfix , (postfix calculator with stack in pascal ) , i must run the program this "MONDAY" to my Prof , thank's

  • Thanks to the author-instructor for an excellent tutorial, at first I was intimidated by Pascal language and I was going back to Qbasic, but then I found these videos and I was quickly able to create a desktop icon executable from this first tutorial by pausing the video and following along from the IDE that I also discovered from this video. Thank you again.

  • You are an absolute life saver. I haven't looked at your other videos, and I already knew about this, but this I've been googling for HOURS trying to find a tutorial. I hope the popularity lives up to itself. :)

  • project1.lpr(15,8) Error: Illegal expression what to do?

  • So you need a Free Pascal Compiler and Lazarus for this to work? Or just the IDE Lazarus?

  • Hello guys This is the Pascal Game boy company we produce games in pascal, we started 2 weeks ago and finished a game called The lost temple of merz,

    But for every game we have to search for bugs, this game is only a beginning because we plan of making Much bigger games and better graphics...

    For bugs we mush have Beta testers! if you want to be a beta tester just go to my channel and read the instructions

    But hurry because only beta testers play our games for free...

    We need support!

    -Nemanja

  • Can someone tell me what are these codes Red writed. let's say ($ mode objfo )($f...) etc... Do i need these?. Thanks!.

  • can u do the same thing in TP?

View all Comments »
Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more