Difference between revisions of "Basic Pascal Tutorial"

From Free Pascal wiki
Jump to navigationJump to search
Line 19: Line 19:
  
 
The tutorial can be found here: [[Object_Pascal_Introduction|Object Pascal Tutorial by Tao Yue]]
 
The tutorial can be found here: [[Object_Pascal_Introduction|Object Pascal Tutorial by Tao Yue]]
 +
 +
==Contents==
 +
* [[Object_Pascal_Introduction|Introduction]]
 +
* [[Object_Pascal_History|History of Pascal]]
 +
* [[Compilers|Pascal Compilers]]
 +
* [[Hello,_World|Hello, world]]
 +
* [[Program_Structure|1. Basics]]
 +
** [[Program_Structure|Program Structure]]
 +
** [[Identifiers]]
 +
** [[Constants]]
 +
** [[Variables_and_Data_Types|Variables and Data Types]]
 +
** [[Assignment_and_Operations|Assignment and Operations]]
 +
** [[Standard_Functions|Standard Functions]]
 +
** [[Punctuation_and_Indentation|Punctuation and Indentation]]
 +
** [[Programming_Assignment|Programming Assignment]]
 +
** [[Solution]]
 +
* [[Input|2. Input/Output]]
 +
** [[Input]]
 +
** [[Output]]
 +
** [[Formatting output]]
 +
** [[Files]]
 +
** [[EOLN_and_EOF|EOLN and EOF]]
 +
** [[Programming_Assignment_2|Programming Assignment]]
 +
** [[Solution_2|Solution]]
 +
* [[Sequential_control|3. Program Flow]]
 +
** [[Sequential_control|Sequential control]]
 +
** [[Boolean_Expressions|Boolean Expressions]]
 +
** [[IF|Branching]]
 +
*** [[IF]]
 +
*** [[CASE]]
 +
** [[FOR..DO|Looping]]
 +
*** [[FOR..DO]]
 +
*** [[WHILE..DO]]
 +
*** [[REPEAT..UNTIL]]
 +
*** [[FOR..IN]]
 +
** [[Programming_Assignment_3|Programming Assignments: Fibonacci Sequence and Powers of Two]]
 +
** [[Solution_3|Solutions]]]
 +
* [[Procedures|4. Subprograms]]
 +
** [[Procedures]]
 +
** [[Parameters]]
 +
** [[Functions]]
 +
** [[Scope]]
 +
** [[Recursion]]
 +
** [[Forward_Referencing|Forward Referencing]]
 +
** [[Programming_Assignment_4|Programming Assignment: the Towers of Hanoi]]
 +
** [[Solution_4|Solution]]
 +
* [[Enumerated_types|5. Data types]]
 +
** [[Enumerated_types|Enumerated types]]
 +
** [[Subranges]]
 +
** [[1-dimensional_arrays|1-dimensional arrays]]
 +
** [[Multidimensional_arrays|Multidimensional arrays]]
 +
** [[Records]]
 +
** [[Pointers]]
 +
* [[Graphis]]
 +
** [[Drawing with canvas]]
 +
* [[Final_words|6. Final words]]

Revision as of 15:36, 26 August 2011

Template:Object Pascal Tutorial

Note from the Editor

I was so free to call it Object Pascal Tutorial, since I had to find an other file name, not to overwrite the original put there by Tom. I think Object Pascal Tutorial wil be a better name as we will enhance it in the future. ;-)

I have converted the latest version from Tao Yue's website to Wiki.
My idea is to first convert the whole tutorial to wiki (which has been completed), and later start to change/add things, so one can see, using the the Wiki History Tools, what was changed to Tao Yue's original.

Every Wiki page has a discussion area linked to it, so let's use it.

The color syntax highlighting for the code was done using the code2html plugin for jEdit.

user:Kees

Overview

Tao Yue has written an excellent Pascal overview and tutorial and generously agreed to let it be wiki'ized and posted on the Lazarus-ccr provided that:

Please contact the author and obtain permission before reposting.

The tutorial can be found here: Object Pascal Tutorial by Tao Yue

Contents