home *** CD-ROM | disk | FTP | other *** search
/ Collection of Hack-Phreak Scene Programs / cleanhpvac.zip / cleanhpvac / PASCTXT.ZIP / TABCONT.TXT < prev   
Text File  |  1988-01-15  |  9KB  |  226 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.                 CORONADO ENTERPRISES PASCAL TUTOR - Version 2.00
  11.  
  12.  
  13.              This  documentation  and  the  accompanying   software,
  14.         including all of the example Pascal programs and text files,
  15.         are  protected under United States copyright law to  protect
  16.         them  from  unauthorized  commercialization.   This   entire
  17.         tutorial  is distributed under the "Freeware" concept  which
  18.         means  that  you are not required to pay for  it.   You  are
  19.         permitted to copy the disks in their entirety and pass  them
  20.         on to a friend or acquaintance.  In fact, you are encouraged
  21.         to do so.  You are permitted to charge a small fee to  cover
  22.         the mechanical costs of duplication, but the software itself
  23.         must be distributed free of charge, and in its entirety.
  24.  
  25.              If  you find the tutorial and the accompanying  example
  26.         programs useful,  you may, if you desire, pay a small fee to
  27.         the  author to help compensate him for his time and  expense
  28.         in  writing  it.   A  payment  of  $10.00  is  suggested  as
  29.         reasonable and sufficient.   If you don't feel the  tutorial
  30.         was worth this amount,  please do not make any payment,  but
  31.         feel free to send in the questionnaire anyway.
  32.  
  33.              Whether or not you send any payment, feel free to write
  34.         to  Coronado  Enterprises  and ask for the  latest  list  of
  35.         available  tutorials  and a list of the known Public  Domain
  36.         libraries  that  can supply you with this software  for  the
  37.         price of copying.   Please enclose a self addressed  stamped
  38.         envelope,  business size preferred, for a copy of the latest
  39.         information.   See  the  accompanying "READ.ME" file on  the
  40.         disks for more information.
  41.  
  42.              I  have  no facilities for telephone  support  of  this
  43.         tutorial  and have no plans to institute such.   If you find
  44.         any problem, or if you have any suggestions, please write to
  45.         me at the address below.
  46.  
  47.                        Gordon Dodrill - Jan 15, 1988
  48.  
  49.  
  50.  
  51.  
  52.                  Copyright (c) 1988, Coronado Enterprises
  53.                             Coronado Enterprises
  54.                            12501 Coronado Ave NE
  55.                        Albuquerque, New Mexico 87122
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.                              TABLE OF CONTENTS
  73.  
  74.         Introduction to the TURBO Pascal tutorial.         Page 1
  75.  
  76.         Chapter 1 - What is a computer program?            Page 5
  77.  
  78.         Chapter 2 - Getting started in Pascal.             Page 7
  79.                  TRIVIAL.PAS   The minimum Pascal program.
  80.                  WRITESM.PAS   Write something out.
  81.                  WRITEMR.PAS   Write more out.
  82.                  PASCOMS.PAS   Pascal comments illustration.
  83.                  GOODFORM.PAS  Good formatting example.
  84.                  UGLYFORM.PAS  Ugly formatting example.
  85.  
  86.         Chapter 3 - The simple Pascal data types.         Page 13
  87.                  INTVAR.PAS    Integer variables.
  88.                  INTVAR2.PAS   More integer variables.
  89.                  ALLVAR.PAS    All simple variable types.
  90.                  REALMATH.PAS  Real variable math example.
  91.                  INTMATH.PAS   Integer variable math example.
  92.                  BOOLMATH.PAS  Boolean variable math example.
  93.                  CHARDEMO.PAS  Character variable demonstration.
  94.                  CONVERT.PAS   Data type conversion.
  95.                  NEWINT4.PAS   New integer types in TURBO 4.0
  96.                  NEWREAL4.PAS  New real types in TURBO 4.0
  97.  
  98.         Chapter 4 - Pascal loops and control structures.  Page 20
  99.                  LOOPDEMO.PAS  Loop demonstration.
  100.                  IFDEMO.PAS    Conditional branching.
  101.                  LOOPIF.PAS    Loops and If's together.
  102.                  TEMPCONV.PAS  Temperature conversion.
  103.                  DUMBCONV.PAS  Poor variable names.
  104.                  REPEATLP.PAS  Repeat until structure.
  105.                  WHILELP.PAS   While structure.
  106.                  CASEDEMO.PAS  Case demonstration.
  107.                  BIGCASE.PAS   Bigger case example
  108.  
  109.         Chapter 5 - Pascal procedures and functions.      Page 26
  110.                  PROCED1.PAS   Simple procedures.
  111.                  PROCED2.PAS   Procedures with variables.
  112.                  PROCED3.PAS   Multiple variables.
  113.                  PROCED4.PAS   Scope of variables.
  114.                  PROCED5.PAS   Procedure calling procedures.
  115.                  FUNCTION.PAS  An example function.
  116.                  RECURSON.PAS  An example with recursion.
  117.                  FORWARD.PAS   The forward reference.
  118.  
  119.         Chapter 6 - Arrays, types, constants, and labels. Page 36
  120.                  ARRAYS.PAS    Simple arrays.
  121.                  ARRAYS2.PAS   Multiple arrays.
  122.                  TYPES.PAS     Example of types.
  123.                  CONSTANT.PAS  Example of constants.
  124.                  LABELS.PAS    Label illustration.
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.                              TABLE OF CONTENTS
  141.  
  142.         Chapter 7 - Strings and string procedures.        Page 43
  143.                  STRARRAY.PAS  Pascal strings.
  144.                  STRINGS.PAS   TURBO Pascal strings.
  145.                  WHATSTRG.PAS  What is a string?
  146.  
  147.         Chapter 8 - Scalers, subranges, and sets.         Page 46
  148.                  ENTYPES.PAS   Enumerated types.
  149.                  SUBRANGE.PAS  Scaler operations.
  150.                  SETS.PAS      Set operations.
  151.                  FINDCHRS.PAS  Search for characters.
  152.  
  153.         Chapter 9 - Records.                              Page 51
  154.                  SMALLREC.PAS  A small record example.
  155.                  BIGREC.PAS    A large record example.
  156.                  VARREC.PAS    A variant record example.
  157.  
  158.         Chapter 10 - Standard Input/Output.               Page 58
  159.                  WRITELNX.PAS  Generalized output statements.
  160.                  READINT.PAS   Read integers from the keyboard.
  161.                  READREAL.PAS  Read reals from the keyboard.
  162.                  READCHAR.PAS  Read characters from the keyboard.
  163.                  READARRY.PAS  Read an array from the keyboard.
  164.                  READSTRG.PAS  Read a string from the keyboard.
  165.                  PRINTOUT.PAS  Print some data on the printer.
  166.  
  167.         Chapter 11 - Files.                               Page 63
  168.                  READFILE.PAS  Read and display this file.
  169.                  READDISP.PAS  Read and display any file.
  170.                  READSTOR.PAS  Read and store any file.
  171.                  READINTS.PAS  Read an integer data file.
  172.                  INTDATA.TXT   Integer data file.
  173.                  READDATA.PAS  Read a mixed data file.
  174.                  REALDATA.TXT  Real data file.
  175.                  BINOUT.PAS    Write a binary file.
  176.                  BININ.PAS     Read a binary file.
  177.  
  178.         Chapter 12 - Pointers and dynamic allocation.     Page 73
  179.                  POINT.PAS      First pointer example
  180.                  POINT4.PAS     Pointers with version 4.0 only
  181.                  POINTERS.PAS   Example program with pointers.
  182.                  DYNREC.PAS     Dynamic record allocation.
  183.                  LINKLIST.PAS   An example linked list.
  184.  
  185.         Chapter 13 - Units in TURBO Pascal 4.0            Page 84
  186.                  AREAS.PAS      Areas of geometric shapes.
  187.                  PERIMS.PAS     Perimeters of geometric shapes.
  188.                  GARDEN.PAS     User of above units.
  189.                  SHAPES4.PAS    User of above units.
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.                              TABLE OF CONTENTS
  208.  
  209.         Chapter 14 - Complete example programs.           Page 90
  210.                  AMORT1.PAS     Beginning of amortization program.
  211.                  AMORT2.PAS     Better amortization program.
  212.                  AMORT3.PAS     Useable amortization program.
  213.                  AMORT4.PAS     Neat amortization program.
  214.                  AMORT5.PAS     Complete amortization program.
  215.                  LIST3.PAS      List Pascal programs (TURBO 3.0).
  216.                  LIST4.PAS      List Pascal programs (TURBO 4.0).
  217.                  LIST.COM       Ready to use list program.
  218.                  TIMEDATE.PAS   Get time and date (TURBO 3.0).
  219.                  TIMEDAT4.PAS   Get time and date (TURBO 4.0).
  220.                  SETTIME.PAS    Set a file's time and date.
  221.                  SHAPES3.PAS    Calculate areas of shapes.
  222.                  OT3.PAS        Directory list program (TURBO 3.0).
  223.                  OT4.PAS        Directory list program (TURBO 4.0).
  224.                  OT.COM         Precompiled Directory lister.
  225.                  OT.DOC         How to use OakTree.
  226.