+ Reply to Thread
Results 1 to 4 of 4

Thread: Developing your first Pascal application!

  1. #1
    Bioshox is offline Programmer
    Join Date
    Oct 2009
    Location
    Manchester, UK
    Posts
    196
    Rep Power
    10

    Developing your first Pascal application!

    Pascal is an easy to learn, event drive programming language! Developed to learn students good programming techniques!

    This tutorial will teach you the absolute basics of Pascal!

    Requirements:

    A Windows Based Operating System (32bit)

    A Compiler, there are plenty available free free pascal compilers - Google Search

    Lets get started:

    There are a few things you need to remember when coding in Pascal; After each line we put a space to make it easier when debugging for errors and it also just creates and nice overall house style for the code, we also indent IF statements to make it easier to spot and again a better overall house style and feel, remember this! It will help you in later tutorials.

    Open your Pascal Editor/Compiler and begin by typing this code

    Code:
    PROGRAM MyFirstApplication;
    This will define the name to identify your program, you MUST remember to put a ; at the end of every line of code in Pascal!

    Code:
    USES Wincrt;
    Here we are going to tell the code to use the Windows Environment when running

    Code:
    BEGIN
    This tells pascal we have begun the code for the application!

    Code:
    Writeln('Hello This is my first Pascal Application');
    Writeln tells Pascal to write the line within the ('') perimeters’, this will be the text that’s shown in the end program

    Now we will tell the program that its the end of the programming code, there must be a full stop after the last End. in the program, you may use End in an IF statement which will not specify the end of the program code because it has no full stop, we will come back to IF statements in a later tutorial!

    Code:
    End.
    The code should now look like this:

    Code:
    PROGRAM MyFirstApplication;
    
    USES Wincrt;
    
    BEGIN
    
    Writeln('Hello this is my first Pascal application');
    
    END.
    The end program should look like this:

    Last edited by Bioshox; 02-02-2010 at 02:03 AM. Reason: delete spam link

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many

     
  3. #2
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143

    Re: Developing your first Pascal application!

    It's a nice little tutorial. It's a shame you tried to use it to spamvertise your tutorial site.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  4. #3
    Join Date
    Nov 2009
    Location
    London
    Posts
    866
    Blog Entries
    3
    Rep Power
    14

    Re: Developing your first Pascal application!

    Good tut, just don't spam in the future.

  5. #4
    Bioshox is offline Programmer
    Join Date
    Oct 2009
    Location
    Manchester, UK
    Posts
    196
    Rep Power
    10

    Re: Developing your first Pascal application!

    I'm sorry about that guy's

    I feel the ban was a bit unnecessary, maybe just a warning, as I didn’t realize a link back was against the rules!

    Fair enough, it won’t happen again!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Developing Twitter Application for blackberry
    By sagaARR11 in forum Java Help
    Replies: 2
    Last Post: 04-23-2011, 07:01 AM
  2. Replies: 1
    Last Post: 06-14-2010, 04:20 PM
  3. Developing for OSX
    By Johnnyboy in forum Software Development Tools
    Replies: 5
    Last Post: 08-08-2007, 11:14 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts