Basic Pascal Tutorial/Print version: what changed
Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | 1 | # Introduction | |
| 2 | 2 | ||
| 3 | 3 | # History of Pascal | |
| 4 | 4 | ||
| 5 | 5 | # Pascal Compilers | |
| 6 | 6 | ||
| 7 | 7 | # Hello, world | |
| 8 | 8 | ||
| 9 | - | ||
| 10 | - | ||
| 11 | - | ||
| 12 | - | ||
| 13 | - | ||
| 9 | + | 1\. Chapter\ | |
| 14 | 10 | ||
| 15 | - | ||
| 11 | + | Basics | |
| 16 | 12 | ||
| 17 | 13 | # Program Structure | |
| 18 | 14 | ||
| 19 | 15 | # Identifiers | |
| 20 | 16 | ||
| 21 | 17 | # Constants | |
| 22 | 18 | ||
| 23 | 19 | # Variables and Data Types | |
| 24 | 20 | ||
| 25 | 21 | # Assignment and Operations | |
| 26 | 22 | ||
| 27 | 23 | # Standard Functions | |
| 28 | 24 | ||
| 29 | 25 | # Punctuation and Indentation | |
| 30 | 26 | ||
| 31 | 27 | # Programming Assignment | |
| 32 | 28 | ||
| 33 | 29 | # Solution | |
| 34 | 30 | ||
| 35 | - | ||
| 36 | - | ||
| 37 | - | ||
| 38 | - | ||
| 39 | - | ||
| 31 | + | 2\. Chapter\ | |
| 40 | 32 | ||
| 41 | - | ||
| 33 | + | Input/Output | |
| 42 | 34 | ||
| 43 | 35 | # Input | |
| 44 | 36 | ||
| 45 | 37 | # Output | |
| 46 | 38 | ||
| 47 | 39 | # Formatting output | |
| 48 | 40 | ||
| 49 | 41 | # Files | |
| 50 | 42 | ||
| 51 | 43 | # EOLN and EOF | |
| 52 | 44 | ||
| 53 | 45 | # Programming Assignment | |
| 54 | 46 | ||
| 55 | 47 | # Solution | |
| 56 | 48 | ||
| 57 | - | ||
| 58 | - | ||
| 59 | - | ||
| 60 | - | ||
| 61 | - | ||
| 49 | + | 3\. Chapter\ | |
| 62 | 50 | ||
| 63 | - | ||
| 51 | + | Program Flow | |
| 64 | 52 | ||
| 65 | 53 | # Sequential control | |
| 66 | 54 | ||
| 67 | 55 | # Boolean Expressions | |
| 68 | 56 | ||
| 69 | 57 | # Branching | |
| 70 | 58 | ||
| 71 | 59 | # Looping | |
| 72 | 60 | ||
| 73 | 61 | # Programming Assignments: Fibonacci Sequence and Powers of Two | |
| 74 | 62 | ||
| 75 | 63 | # Solutions | |
| 76 | 64 | ||
| 77 | - | ||
| 78 | - | ||
| 79 | - | ||
| 80 | - | ||
| 81 | - | ||
| 65 | + | 4\. Chapter\ | |
| 82 | 66 | ||
| 83 | - | ||
| 67 | + | Subprograms | |
| 84 | 68 | ||
| 85 | 69 | # Procedures | |
| 86 | 70 | ||
| 87 | 71 | # Parameters | |
| 88 | 72 | ||
| 89 | 73 | # Functions | |
| 90 | 74 | ||
| 91 | 75 | # Scope | |
| 92 | 76 | ||
| 93 | 77 | # Recursion | |
| 94 | 78 | ||
| 95 | 79 | # Forward Referencing | |
| 96 | 80 | ||
| 97 | 81 | # Programming Assignment: the Towers of Hanoi | |
| 98 | 82 | ||
| 99 | 83 | # Solution | |
| 100 | 84 | ||
| 101 | - | ||
| 102 | - | ||
| 103 | - | ||
| 104 | - | ||
| 105 | - | ||
| 85 | + | 5\. Chapter\ | |
| 106 | 86 | ||
| 107 | - | ||
| 87 | + | Data types | |
| 108 | 88 | ||
| 109 | 89 | # Enumerated types | |
| 110 | 90 | ||
| 111 | 91 | # Subranges | |
| 112 | 92 | ||
| 113 | 93 | # 1-dimensional arrays | |
| 114 | 94 | ||
| 115 | 95 | # Multidimensional arrays | |
| 116 | 96 | ||
| 117 | 97 | # Records | |
| 118 | 98 | ||
| 119 | 99 | # Pointers | |
| 120 | 100 | ||
| 121 | - | ||
| 122 | - | ||
| 123 | - | ||
| 124 | - | ||
| 125 | - | ||
| 101 | + | 6\. Chapter\ | |
| 126 | 102 | ||
| 127 | - | ||
| 103 | + | Final words | |
| 128 | 104 | ||
| 129 | 105 | --- | |
| 130 | 106 | *From the Free Pascal wiki, page "Basic Pascal Tutorial/Print version", as it stood on 2023-03-05 after a change by Kai Burghardt, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* |
