Turbo Pascal for DOS Tutorial
Table of Contents
Copyright © 1996 by Glenn Grotzinger
- Chapter 1: The basics.
- A) Basic discussion of what a program is and some rudimentary
operations such as assign statements, simple variables,
computations, and screen writes and reads.
- Chapter 2: IF statements, FOR loops, and format codes.
- A) Concepts of the usage of IF statements, FOR loops, and
format codes that may be placed with writes.
- Chapter 3: WHILE loops, REPEAT loops, CASE statements, string addressing.
- A) Concepts of the usage of WHILE loops, REPEAT loops, CASE
statements.
- B) Methods on how to address a string or parts of a string.
- Chapter 4: Procedures and Functions; TYPE and CONST declarations.
- A) Methods of defining procedures and functions in a program.
- B) The usage of TYPE and CONSTant declarations.
- Chapter 5: Reading and Writing to Text Files; writing to the printer.
- A) Concepts of reading from text files.
- B) Concepts of writing to text files and to the printer.
- Chapter 6: Arrays and their Usage; ASCII conversion functions.
- A) Concepts and usage of arrays.
- B) Usage of the functions chr() and ord().
- Chapter 7: Records and their usage; Mathematics Concepts of the Computer.
- A) Concepts and usage of records.
- B) Concepts of Mathematics.
- 1) Mathematics functions offered by TP.
- 2) Binary and Hexadecimal notation.
- Chapter 8: DOS file functions and their usage.
- A) A basic summary of Turbo Pascal functions and procedures that
are equivalent to DOS commands.
- B) Concepts of most of the procedures and functions in the DOS
or WinDOS units.
- Chapter 9: Applications Development.
- A) Concepts of applications development. The usage of pseudocode
to solve a problem.
- Chapter 10: Reading and Writing to Binary Files; Units and Overlays.
- A) Concepts of reading binary files.
- B) Concepts of writing to binary files.
- C) Concepts and usage of units.
- D) Concepts and usage of overlays.
- Chapter 11: Interfacing with a Common Format; or how is different
variables stored by Pascal in memory, and on disk files?
- A) Discussions of storage formats in memory and disk by Turbo
Pascal.
- B) Interpretation of meanings of data presented on a commonly
used format.
- Chapter 12: Stacks; Queues
- A) Concepts and usage of stacks and queues.
- Chapter 13: Use of Recursion
- A) Concepts and usage of recursion.
- Chapter 14: The CRT Unit commands not already covered; Reading of extended
keys on the keyboard.
- A) Changing colors on the screen (text mode).
- B) Working with the PC speaker.
- C) Controlling the screen appearance and cursor position.
- Chapter 15: Three different designed array sorts.
- A) Definition and concept of usage of the BubbleSort.
- B) Definition and concept of usage of the QuickSort.
- C) Definition of the ShellSort.
- Chapter 16: Methods of searching arrays for data (binary search).
- A) Concepts of the Serial Search.
- B) Concepts of the Binary Search.
- Chapter 17: Use of Pointers in variables, and procedures; designing a
set exit procedure (exitproc). (Dynamic Variables)
- A) Concepts of the addressing of pointers in variables.
- B) Concepts of addressing pointers in procedures and functions.
- C) Design of an exit procedure (use of exitproc).
- Chapter 18: Design and use of chained lists, or linked lists; the linked
list sort.
- A) Concepts of SLLLs, DLLLs, SLCLs, DLCLs.
- B) Sorting data using a linked-list.
- Chapter 19: Descriptions of other types of pointer-linked structures;
- A) Concepts of a binary tree.
- B) Usage of a binary tree.
- Chapter 20: Linking assembler into Pascal code; special topics.
- A) Linking OBJ files into Pascal code.
- B) Hooking a hardware interrupt and writing interrupt code.
- C) Calling a specified interrupt procedure.
- D) Including inline statements in pascal code.
- E) Including assembler statements in pascal code.
- F) Conditional compiler directives.
- Chapter 21: BGI graphics; plotting graphics.
- A) Concepts of usage of the Borland Graphics Interface.
- B) Plotting graphics.
- C) Concepts behind drawing of lines, circles, and other
geometric figures.
[ Next
| Contents
| Previous
| E-mail
| Register
]