Difference between revisions of "Basic Pascal Tutorial"
From Free Pascal wiki
Jump to navigationJump to search (New page: == Note from the Editor == I was so free to call it OPascal Tutorial, since I had to find an other file name, not to overwrite the original put there by Tom. I think Object Pascal Tutorial...) |
(→See also: Add more links) |
||
(21 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
− | == | + | {{Basic_Pascal_Tutorial}} |
− | + | __TOC__ | |
+ | == Overview == | ||
+ | [http://www.taoyue.com/ 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: | ||
+ | * Our posting is linked to the original tutorial at: http://www.taoyue.com/tutorials/pascal/ | ||
+ | * It's made clear that the pages may have been modified from the originals. | ||
+ | Please contact the author and obtain permission before reposting the parts written by Tao Yue in other places than this wiki. | ||
− | + | The tutorial can be found here: [[Basic_Pascal_Introduction|Basic Pascal Tutorial by Tao Yue]] or in the table of contents below | |
− | |||
− | + | ==Contents== | |
+ | * [[Basic_Pascal_Introduction|Introduction]] | ||
+ | * [[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]] | ||
+ | * [[Final_words|6. Final words]] | ||
− | |||
− | + | == See also == | |
− | |||
− | == | ||
− | |||
− | |||
− | |||
− | |||
− | + | * [[error_messages|Error messages]] | |
+ | * [[Object Oriented Programming with Free Pascal and Lazarus]] | ||
+ | * [[Free Pascal videos|Free Pascal video tutorials]] | ||
+ | * [[Lazarus videos|Lazarus video tutorials]] | ||
+ | * [[Pascal and Lazarus Books and Magazines]] |
Revision as of 08:34, 24 September 2020
│
العربية (ar) │
български (bg) │
Deutsch (de) │
English (en) │
español (es) │
français (fr) │
italiano (it) │
日本語 (ja) │
한국어 (ko) │
русский (ru) │
slovenčina (sk) │
中文(中国大陆) (zh_CN) │
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:
- Our posting is linked to the original tutorial at: http://www.taoyue.com/tutorials/pascal/
- It's made clear that the pages may have been modified from the originals.
Please contact the author and obtain permission before reposting the parts written by Tao Yue in other places than this wiki.
The tutorial can be found here: Basic Pascal Tutorial by Tao Yue or in the table of contents below
Contents
- Introduction
- History of Pascal
- Pascal Compilers
- Hello, world
- 1. Basics
- 2. Input/Output
- 3. Program Flow
- 4. Subprograms
- 5. Data types
- 6. Final words