Sign Guestbook
View Guestbook
Invite Your Friends
Website Awards
Message Forum
Source Codes
Downloads
Links
About Me
 
     
Lesson 1 - The first few steps in Pascal Programming
Lesson 2 - Variables, Constants and the Assignment  Statement
Lesson 3 - Special Functions: ClrScr(), GotoXy(), etc...
Lesson 4 - Program Control
Lesson 5 - The CASE-OF Statement
Lesson 6 - Logical Operators and Boolean Expressions
Lesson 7 - Procedures and Functions
Lesson 8 - BGI Graphics
Lesson 9 - File Handling
Lesson 10 - Arrays
Lesson 11 - Record Data Structure
Lesson 12 - Strings

Add this site to your Favourites


Your contribution is highly appreciated!

   



 

REGISTER WITH OUR PROGRAMMING FORUMS

Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player



EASY - SAFE - QUICK - HELPFUL - FREE

PROGRAMMING FORUMS - WHERE PROGRAMMERS COMMUNICATE


Google
eg. "Linked Lists"
Web www.pascal-programming.info
Have you liked this educational website? Then recommend it by clicking this button:
Recent Forum Pascal Programming Topic Posts
Topic Posted By Date Posted
game must be able to generate a random number i ne MIRzan 2012-01-30
How to fix this program in not using boolean comma Evilreaper 2012-01-22
invalid operands to binary <= error LegyPlegy 2012-01-18
Beginner programmer, need help on key :=readkey er LegyPlegy 2012-01-15
Conversion: for to repeat for characters Sokolata 2012-01-02
 
Intro
Welcome to Pascal Programming Website - a website which is particularly designed to help you learn the pascal programming language very quickly and interactively! Enjoy surfing through the site and reading the lessons built purposely for those who would like to get themselves familiar and to get capable of writing structured Pascal programs.

The Pascal Programming Language - Is it for me?

If you stepped into the site to start learning Pascal, you are on the right track! There are'nt any special pre-requisites to learn Pascal. Thus, you can start learning it straight away! Pascal is a very easy language, and helps beginners to introduce them to other languages, before they can start to learn C or C++ or any other advanced language (such as JAVA).

What is PASCAL?

Pascal is an ordinary high-level language which is widely used as a starting or as a teaching language. However, nowadays Pascal is sometimes preferred to other languages, and could be useful to solve technical problems. It is not necessary to learn any other easier language to start learning Pascal, or any of that sort. It is a very easy programming language and helps you to understand the basics of the world of programming. Also, it greatly  helps you in order to start learning the C programming language. I had different experiences, one of which I learned Pascal, and then moved to C programming very easily. The Pascal programming language has its structure and syntax very similar to that of the C programming language.

A General Overview of Low-Level and High-Level Languages

There are two main categories of programming levels; these are low-level and high-level languages. The terms 'low' and 'high' does not mean that a group of 'low-level' languages are inferior to the 'high' ones. A low-level language consists of machine-oriented programming. For example, machine code is the only language with which the CPU understands. The other most-common low-level language, is the Assembly language. The Assembly language has a structure of machine-oriented programming. The Assembly Language, in other words, has a major control of the computer hardware. The Assembly Language makes use of mnemonics and has a better relationship with the memory and the CPU unit far more than that of other programming languages. The Assembly language is sometimes used as part of the source code written in Pascal.

A high-level language consists of all those languages which are problem-oriented. A low-level language is not user-friendly, that is, makes it hard for the user to understand the structure of the program. Pascal, C/C++, BASIC, COBOL, Fortran, etc.. are examples of high-level programming languages. High-level languages represent their source code in such a way that it is more understandable to the programmer.

Machine code is a language which uses binary coding in its source codes. What do you understand by 0001001011 010101 1001110? It's machine code - the only language which is understandable by the CPU.

Interpreters and Compilers

Every high-level language has its own source which needs to be translated into the CPU's language - machine code. These translators are referred to as interpreters and compilers. A high-level language package contains either an interpreter, or a compiler, with which a high-level language uses to translate the source code into object code.

An interpreter is more slower than a compiler, the fact that it has to be loaded into memory till the end of the translation of the program. It is less practical than the compiler. However, the interpreter can be helpful for correcting out errors in programs i.e. it is ideal for debugging. A compiler is faster due to its single, complete translation of the program into object code. A compiler, compiles the source code (with no syntax errors) and makes a copy of it. This copy is called the 'object code'. After it has been compiled, it does not need a recompilation (unless the source code is changed and a recompilation is required to affect the change). The object code used by the OS in order to execute the compiled program.

Where Can I Get A Compiler?

For any student who tends to learn Pascal, starting from today, the best thing he should do is to search for a Pascal compiler, before he start learning Pascal. If you would like a compiler which runs under windows environment and GUI, then you can click here. The most famous compiler is the latest Borland Turbo Pascal 7.0, and is highly difficult to find it out on the market. However, the 'museum of traditional pascal' of Borland is giving out (pascal) compilers for free because of their old age. [ Note: It is important to use the Borland's Pascal Compiler because it is widely used ]

Turbo Pascal 5.5 is free: CLICK HERE TO DOWNLOAD

Ready to start?
When you are ready to start, choose lesson 1 from the navigation bar menu or click here.
Articles

Are you looking for some more advanced and applied concepts of the pascal programming language such as sorting, pointers and linked lists? Then articles is just the section for you. Articles provide discussions about advanced concepts of the language which you can integrate into your programs and use them wisely.

Why don't you have a look at the articles section by clicking here or choose an article from the table below:

Article # Article Title
1. Sorting
2. The Stack Data Structure
3. Pointers
4. Linked Lists
5. Recursion
6. Object Oriented Programming - Part 1

Errors in Programs

Mistakes can be found in some of my source codes around this site. Should this happen, please send me an e-mail and inform me immediately, and obviously state where should this mistake be found. You will be doing a favour for yourself and other students. Anyways, thank you if you spot and obviously report any errors in my pascal programs.

[PLEASE REPORT ANY DEAD LINKS HERE]

Any Problems?

If you would like to discuss any problems with me and other users, then don't hesitate to register with our forums and posting your problem using the POST NEW TOPIC feature. If you are not registered, the register by clicking the link below:

http://pascal-programming.info/register.html

I will be very glad and looking forward to help you through our forums!

Link To Us

We greatly appreciate your help to get this site more useful and let others benefit from the best pascal programming resource site on the net. Great effort was done to greatly improve this site's environment for every visitor to this site to be comfortable in.

For those who would like to include a link to our site, they might use a cute logo like the one provided to you below linking to (right-click on the image and choose save as to save the image to your computer):

http://www.pascal-programming.info/

Pascal Programming Site Logo

One may hot link to the image using:

http://pascal-programming.info/images/linktous.jpg

News
  • 4 November 2006

This site has been awarded the Alcazaren award. Click here for more details.

Alcazaren Award

  • 11 October 2006

The registration form had a minor glitch in its javascript coding and because of this technical problem, one could not submit his/her details in order to register. Now the problem is solved and the registration form is once again working normally.

  • 15 September 2006

Articles just keep adding in numbers ;). Another one is added, and is about Recursion.

  • 14 September 2006

Two more articles are added ;). The new articles are about Pointers and Linked Lists.

  • 11 September 2006

Another article is added. The new article is about the Stack Data Structure.

  • 9 September 2006

The first article is out for you to read! Its about Sorting. Check it out right now by clicking here or choose the articles button from the navigational menu on the left.

  • 7 September 2006

The new and freshly re-designed website is uploaded back for you to enjoy reading it more comfortably.

As you may have noticed, a new section has been added to the lessons on the left navigation menu. Articles consist of a number of discussions about chosen subjects and which won't be available in the lessons. The articles are still under construction, but you will be informed here when articles will be added.

Help yourself surfing this site and reading lessons in a better environment.

  • 5 September 2006

A complete website re-design is in progress. The new layout is user friendlier which of course gives a boost to the necessary comfort for a user to read the text. Unfortunately, because of the major website upgrade, the site would be unable to be up and running and would need some amount of downtime. Hope that it would not be long and be up again for you to enjoy learning in a better environment that you deserve.

  • 27 June 2006

NEW! Users can freely submit their own comments regarding a particular lesson in the end of a lesson.

  • 26 June 2006

HOT NEWS: FORUM Ver 2 is here! Just take advantage of this cutting edge forum, ready to help the community about its programming needs!

What's new in Programming Forums Ver 2:

> Nice New Look ;)

> Topic/Reply is far more flexible

> New Thread: Off-Topic so you can post on anything you like :)

GO TO THE FORUMS NOW!

AddFreeStats.com Free Web Stats in real-time !

 
 


User Comments [ Please use the forums if you need further assistance ]

Post By: Coast Dress Posted On: 2012-01-28
Thanks

Post By: Coast Dress Posted On: 2012-01-28
Thanks

Post By: ning Posted On: 2012-01-26
it's nice to have a pascal tutorial especially slow learner like me

Post By: cymar Posted On: 2012-01-17
TYPE DECLARATION: Declare a variant record for major league baseball players. Assume that the fixed information in the record is the player’s name and his team name. The variant information must be categorized as pitcher or non- pitcher. If the player is a pitcher, you must store his number of wins and number of losses. If the player is not a pitcher, you must store his number of times at bat, number of home runs, number of hits, and batting average. (Use CASE-OF statement in PASCAL or its equivalent)------can you give me the algorithm of this ? pls thank you

Post By: cymar Posted On: 2012-01-17
TYPE DECLARATION: Declare a variant record for major league baseball players. Assume that the fixed information in the record is the player’s name and his team name. The variant information must be categorized as pitcher or non- pitcher. If the player is a pitcher, you must store his number of wins and number of losses. If the player is not a pitcher, you must store his number of times at bat, number of home runs, number of hits, and batting average. (Use CASE-OF statement in PASCAL or its equivalent)------can you give me the algorithm of this ? pls thank you

Post By: christian louboutin replica Posted On: 2012-01-17
help me about compose program of inverse of a matrix

Post By: amiNe Posted On: 2012-01-15
fantastic site!! I'd liked it a lot! thank you very much!!!

Post By: chinanny Posted On: 2011-11-24
all about pascal programming language

Post By: Mcminari Posted On: 2011-10-01
Just starting to learn Pascal. I hope you'll assist in a big way. Thanks.

Post By: Rosa Ausencillo Posted On: 2011-09-29
it helps me a lot and it make me feel light

Post By: tatskie dodie Posted On: 2011-09-29
ahhhhhmmmmm..... i lke you're program but i need direct information if its ok with you and i'am just commenting but all in one sentence i really appreciate it a lot

Post By: alessandro blade kratos Posted On: 2011-09-24
i am an IT student and i would like more specific information about how pascal works i would like an answer

Post By: jelaa Posted On: 2011-09-17
I'm beginner and want to learn more in programming

Post By: ndumiso Posted On: 2011-09-14
I am happy to come across your article.As a new comer to the course of programming using pascal,it has ismplified things for me. May Iregister as a member.

Post By: betty Posted On: 2011-08-29
i just want to look for more information about this programme language coz it for my internal assesment for computer. yeb!! but it good to know it plus the important.

Post By: elhadjtahar farouk Posted On: 2011-08-25
i want learn the programming lang

Post By: Posted On: 2011-08-22
Here, you will have a new look and classic design of the new copy of the old design Louis Vuitton Outlet Store. www.buygoodhandbags.com is a reliable supplier who is dedicated to providing our customers with high qualiy products cheap designer handbags online. Amazing, like Louis Vuitton, Hermes, Prada, Chanel, Gucci Bags, the famous design will not let you down.Goshu0822

Post By: jay-ar Posted On: 2011-08-07
my professor is very boring in teaching we cant understand him i am here in philippines what should i do?

Post By: ronnie guntalidad Posted On: 2011-07-30
thank you to the uploader, hoping that i can understand well and can help little/big for me

Post By: ECHERO Posted On: 2011-07-08
Hmm! At last i found it here... A big kudos to u guys 4 d articles...they'r really teaching coz i'm learning! Lets keep d program running!!

Post By: veeda_esque Posted On: 2011-06-19
thanx alot blaise pascal 4 da progaramming..it has really helped me with doing my assignment and activities given in class...so most of all..a big vinaka vakalevu 2 da pascal programmers..from 2ely,lopez.mili,esther,tazey,talica,charlotte,maravu nd veeda_esque.....

Post By: Tazey Karl Posted On: 2011-06-16
this site is very iinteresting and uses simple words making it easy to understand. it has helped me alot in my computing class.. I thank god for BLAISE PASCAL's life... God bless Fiji. Laisa Maravu, Milly, Esther Surf, Tuela, Lopez, Veeda, Talisha, Nancy & Charlotte

Post By: mils koyamainavure Posted On: 2011-06-16
Your site is very interesting and I am happy happy to be a part of it. This site has helped me alot in terms of my computing assignment! Very easy to follow up. Thank you once again and thank you Blaise Pascal!

Post By: Mr.P5P Posted On: 2011-05-18
nice layout for the web, easy to read and easy to follow the topics...(^_^)

Post By: anthony Posted On: 2011-05-13
i need someone to give help on pascal programming in further assistance of my study

Post By: khemraj Posted On: 2011-05-10
can someone tell me what is this about please

Post By: mohamud ali hilowle Posted On: 2011-05-06
Hi friends, iam new comer, for this forum discussions, plz give least tips for pascal programing as to be master for pascal...?

Post By: God Fearin Emprezz Posted On: 2011-05-05
This is an awesome article and i can say that i've learnt alot

Post By: ATMAAG GEORGE Posted On: 2011-04-14
write a simple PASCAL program that can print out 20 concecutives numbers

Post By: ATMAAG GEORGE Posted On: 2011-04-14
It is a very good thing for people like you to paste this thing on the google site for people to read and understand well done boys

Post By: Ray McTighe Cheasapy Posted On: 2011-03-18
Hello world (arda.) As a 4-year degree man, I know BASIC but no Pascal or Fortran. Heasr Pascal is basically irrelevant anyway. Mathmatically illiterate ... oh well. Q- does FORTRAN even work? A turtle of a programmer, but keep me on your mailing list. Hopefully, that is, if you can tolerate the math illiterate. Best Regards, Ray McTighe Cheasapy

Post By: sister yuna Posted On: 2011-01-21
Am an IT student and i want to know more about Pascal

Post By: Belstaff outlet Posted On: 2011-01-13
thanks

Post By: aew Posted On: 2010-11-28
help me about compose program of inverse of a matrix

Post By: aew Posted On: 2010-11-28
post me by pascal programming program of inverse of a matrix, thancks.

Post By: jelly Posted On: 2010-11-02
did anyone know how does the pascal work?i need the answer asap!!!i hve'been searching bt stilll cnt get the answer.....so if anyone got the answer please sent me a email k thanks!

Post By: manda Posted On: 2010-10-20
WOW, GREAT WORK!

Post By: warlock Posted On: 2010-10-18
These lessons are the best when beginning programmming. I think in my opinion that pascal/delphi are/is the best language for programming

Post By: *Deepika-seniors 2010* Posted On: 2010-10-07
hi the notes on programming is well conveyed. thnxxxxxx lolzz

Post By: Fofii Posted On: 2010-08-01
i really need your help for my pascal homeworks :(

Post By: WastedLyfStyle Posted On: 2010-07-07
... this site rockz! plz help me when I need to learn something new in pascal!thx!^^

Post By: cat Posted On: 2010-06-28
heloo...cud sm1 plz tell me how to retrieve data input in an array in a procedure in a function?Like, i've stored a name in an array in a procedure and want to get the name in thye array in a function?

Post By: Kate Posted On: 2010-06-08
Great Job. Love the article.

Post By: mukiibi peter Posted On: 2010-06-01
thanks a lot for such a good initiative

Post By: paul Posted On: 2010-05-28
am a beginer programmer in pascal,i woul like to have video lectures on pascal so as to improve my learning.how to go well on the programming especially pascal. further advice on other languages.

Post By: hasan2020 Posted On: 2010-05-26
very good thanks.

Post By: Marko Lazic Sica Posted On: 2010-05-16
A great tutorial, thanks.

Post By: cavalier guy chebara 94' stano Posted On: 2010-05-10
it's getting really nice, am da bomb in pascasl. thanks for the updates keep it coming!

Post By: javie Posted On: 2010-05-06
big up all 10 one students we all learn alot !ha owe!

Post By: Tulanaka Posted On: 2010-04-23
Hello can you help me to write this program which will be handed on before 26th April, 2010. I was out of the college for solving my employment problems and after returning to the college my teacher give me a program to write as a make up test to complete course work. He told me to write the pascal programthat check for parenthesisiin the arithmetic expressions. Theprogram ensures that forevery opening parenthesis there is a matching closing parenthesis. Further more there can be diferent kinds of parentheses, round one (....), square one [....], and braces one {....}. The remaining characters in the arithmetic expressions can simply be ignored. The input to the program is ana arithmetic expressions eg.{2*[(x-4)*(y+x-3)]/12} in which case the program will moutput "Ok with parenthesis" If the input is not ok eg. (x+y} or [(23-x] the program should output "It is not ok with parenthesis" You should use stack Data Structure whereby the opening parenthesis is pushed onto the stack and closing one is popped out of the stack. Please help me to write this program and send me feedback before that deadline.


Post Your Comment on this Article!
Your Name/Nickname:
Your Email:
Your Comment:
Insert the BLUE numbers shown below in the text field on the right. [ This is an anti-spam counter-measure ]
21890594
 

[LESSON INDEX][1st LESSON][FORUM][ABOUT ME][INVITE YOUR FRIENDS]

mail to: victorsaliba@hotmail.com

Last modified: November 2006

© Victor John Saliba 2006
| Privacy Statement | Disclaimer | Contact Us |
 
 
 
www.pascal-programming.info © Victor John Saliba 2006