home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
-
-
-
-
- CORONADO ENTERPRISES PASCAL TUTOR - Version 1.00
-
-
- This documentation and the accompanying software,
- including all of the example Pascal programs and text files,
- are protected under United States copyright law to protect
- them from unauthorized commercialization. This entire
- tutorial is distributed under the "Freeware" concept which
- means that you are not required to pay for it. You are
- permitted to copy the disks in their entirety and pass them
- on to a friend or acquaintance. In fact, you are encouraged
- to do so. You are permitted to charge a small fee to cover
- the mechanical costs of duplication, but the software itself
- must be distributed free of charge, and in its entirety.
-
- If you find the tutorial and the accompanying example
- programs useful, you may, if you desire, pay a small fee to
- the author to help compensate him for his time and expense
- in writing it. A payment of $10.00 is suggested as
- reasonable and sufficient. If you don't feel the tutorial
- was worth this amount, please do not make any payment, but
- feel free to send in the questionnaire anyway.
-
- Whether or not you send any payment, feel free to write
- to Coronado Enterprises and ask for the latest list of
- available tutorials and a list of the known Public Domain
- libraries that can supply you with this software for the
- price of copying. Please enclose a self addressed stamped
- envelope, business size preferred, for a copy of the latest
- information. See the accompanying "READ.ME" file on the
- disks for more information.
-
- I have no facilities for telephone support of this
- tutorial and have no plans to institute such. If you find
- any problem, or if you have any suggestions, please write to
- me at the address below.
-
- Gordon Dodrill - July 13, 1986
-
-
-
-
- Copyright (c) 1985, Coronado Enterprises
-
- Coronado Enterprises
- 12501 Coronado Ave NE
- Albuquerque, New Mexico 87122
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- TABLE OF CONTENTS
-
- Introduction to the TURBO Pascal tutorial. Page 1
-
- Chapter 1 - What is a computer program? Page 4
-
- Chapter 2 - Getting started in Pascal. Page 6
- TRIVIAL.PAS The minimum Pascal program.
- WRITESM.PAS Write something out.
- WRITEMR.PAS Write more out.
- PASCOMS.PAS Pascal comments illustration.
- GOODFORM.PAS Good formatting example.
- UGLYFORM.PAS Ugly formatting example.
-
- Chapter 3 - The simple Pascal data types. Page 11
- INTVAR.PAS Integer variables.
- INTVAR2.PAS More integer variables.
- ALLVAR.PAS All simple variable types.
- REALMATH.PAS Real variable math example.
- INTMATH.PAS Integer variable math example.
- BOOLMATH.PAS Boolean variable math example.
- CHARDEMO.PAS Character variable demonstration.
- CONVERT.PAS Data type conversion.
-
- Chapter 4 - Pascal loops and control structures. Page 15
- LOOPDEMO.PAS Loop demonstration.
- IFDEMO.PAS Conditional branching.
- LOOPIF.PAS Loops and IF's together.
- TEMPCONV.PAS Temperature conversion.
- DUMBCONV.PAS Poor variable names.
- REPEATLP.PAS Repeat until structure.
- WHILELP.PAS While structure.
- CASEDEMO.PAS CASE demonstration.
-
- Chapter 5 - Pascal procedures and functions. Page 20
- PROCED1.PAS Simple procedures.
- PROCED2.PAS Procedures with variables.
- PROCED3.PAS Multiple variables.
- PROCED4.PAS Scope of variables.
- PROCED5.PAS Procedure calling procedures.
- FUNCTION.PAS An example function.
- RECURSON.PAS An example with recursion.
- FORWARD.PAS The forward reference.
-
- Chapter 6 - Arrays, types, constants, and labels. Page 27
- ARRAYS.PAS Simple arrays.
- ARRAYS2.PAS Multiple arrays.
- TYPES.PAS Example of types.
- CONSTANT.PAS Example of constants.
- LABELS.PAS Label illustration.
-
- Chapter 7 - Strings and string procedures. Page 33
- WHATSTRG.PAS What is a string?
- STRARRAY.PAS Pascal strings.
- STRINGS.PAS TURBO Pascal strings.
-
-
-
-
-
-
-
-
-
-
-
- TABLE OF CONTENTS
-
- Chapter 8 - Scalers, subranges, and sets. Page 35
- ENTYPES.PAS Enumerated types.
- SUBRANGE.PAS Scaler operations.
- SETS.PAS Set operations.
- FINDCHRS.PAS Search for characters.
-
- Chapter 9 - Records. Page 39
- SMALLREC.PAS A small record example.
- BIGREC.PAS A large record example.
- VARREC.PAS A variant record example.
-
- Chapter 10 - Standard Input/Output. Page 46
- WRITELNX.PAS Generalized output statements.
- READINT.PAS Read integers from the keyboard.
- READREAL.PAS Read reals from the keyboard.
- READCHAR.PAS Read characters from the keyboard.
- READARRY.PAS Read an array from the keyboard.
- READSTRG.PAS Read a string from the keyboard.
- PRINTOUT.PAS Print some data on the printer.
-
- Chapter 11 - Files. Page 51
- READFILE.PAS Read and display this file.
- READDISP.PAS Read and display any file.
- READSTOR.PAS Read and store any file.
- READINTS.PAS Read an integer data file.
- INTDATA.TXT Integer data file.
- READDATA.PAS Read a mixed data file.
- REALDATA.TXT Real data file.
- BINOUT.PAS Write a binary file.
- BININ.PAS Read a binary file.
-
- Chapter 12 - Pointers and dynamic allocation. Page 60
- POINTERS.PAS Example program with pointers.
- DYNREC.PAS Dynamic record allocation.
- LINKLIST.PAS An example linked list.
-
- Chapter 13 - Complete example programs. Page 68
- AMORT1.PAS Beginning of amortization program.
- AMORT2.PAS Better amortization program.
- AMORT3.PAS Useable amortization program.
- AMORT4.PAS Neat amortization program.
- AMORT5.PAS Complete amortization program.
- LIST.PAS List Pascal programs (TURBO).
- LIST.COM Ready to use list program.
- LIST2.PAS List Pascal programs (Generic).
- TIMEDATE.PAS Get present time and date.
- AREAS.PAS Calculate areas of shapes.
- OT.PAS Directory list program.
- OT.COM Precompiled Directory lister.
- OT.DOC How to use OakTree.
-