| 1 | .if !\n(xx .so /usr/lib/tmac.s |
| 2 | .nr LL 6.5i |
| 3 | .TL |
| 4 | UNIX Pascal User's Manual |
| 5 | .br |
| 6 | Version 1.0 \- November, 1977 |
| 7 | .LP |
| 8 | .ds CF "- \\n(PN - |
| 9 | .ds CH |
| 10 | .af PN i |
| 11 | .ce |
| 12 | .I |
| 13 | .LG |
| 14 | .LG |
| 15 | Table of Contents |
| 16 | .NL |
| 17 | .R |
| 18 | .sp .5i |
| 19 | .KS |
| 20 | .ta 5.75i |
| 21 | .tc . |
| 22 | .nf |
| 23 | .KE |
| 24 | .KS |
| 25 | Introduction \0\01 |
| 26 | .KE |
| 27 | .sp 2 |
| 28 | .KS |
| 29 | .B |
| 30 | 1. Sources of Information \0\02 |
| 31 | .R |
| 32 | .sp |
| 33 | .1 Where to get documentation \0\02 |
| 34 | .2 Computer Center short courses \0\02 |
| 35 | .3 Documentation describing UNIX \0\02 |
| 36 | .4 Text editing documents \0\03 |
| 37 | .5 Pascal documents \- the language \0\04 |
| 38 | .6 Pascal documents \- the UNIX implementation \0\04 |
| 39 | .7 References \0\05 |
| 40 | .KE |
| 41 | .sp 2 |
| 42 | .KS |
| 43 | .B |
| 44 | 2. Basic UNIX Pascal \0\07 |
| 45 | .R |
| 46 | .sp |
| 47 | .1 A first program \0\07 |
| 48 | .2 A larger program \010 |
| 49 | .3 Correcting the first errors \011 |
| 50 | .4 Executing the second example \014 |
| 51 | .5 Formatting the program listing \016 |
| 52 | .6 Execution profiling \016 |
| 53 | .KE |
| 54 | .sp 2 |
| 55 | .KS |
| 56 | .B |
| 57 | 3. Error diagnostics \020 |
| 58 | .R |
| 59 | .sp |
| 60 | .1 Translator syntax errors \020 |
| 61 | .2 Translator semantic errors \023 |
| 62 | .3 Translator panics, i/o errors \027 |
| 63 | .4 Run-time errors \027 |
| 64 | .KE |
| 65 | .sp 2 |
| 66 | .KS |
| 67 | .B |
| 68 | 4. Input/output \029 |
| 69 | .R |
| 70 | .sp |
| 71 | .1 Introduction \029 |
| 72 | .2 Eof and eoln \030 |
| 73 | .3 More about eoln \031 |
| 74 | .4 Output buffering \032 |
| 75 | .5 Files, reset and rewrite \032 |
| 76 | .6 Argc and argv \033 |
| 77 | .KE |
| 78 | .sp 2 |
| 79 | .KS |
| 80 | .B |
| 81 | 5. Details on components of the system \036 |
| 82 | .R |
| 83 | .sp |
| 84 | .1 Options \036 |
| 85 | .2 Pi (and pix) \037 |
| 86 | .3 Px \039 |
| 87 | .4 Pxp \039 |
| 88 | .5 Formatting programs using pxp \040 |
| 89 | .6 Pcc and carriage control \042 |
| 90 | .7 Pxref \042 |
| 91 | .8 Pascals \042 |
| 92 | .9 Multi-file programs \042 |
| 93 | .KE |
| 94 | .sp 2 |
| 95 | .KS |
| 96 | .B |
| 97 | A. Appendix to Wirth's Pascal Report \044 |
| 98 | .R |
| 99 | .sp |
| 100 | .1 Extensions to the language Pascal \045 |
| 101 | .2 Resolution of the undefined specifications \045 |
| 102 | .3 Restrictions and limitations \048 |
| 103 | .4 Added types, operators, procedures and functions \048 |
| 104 | .5 Remarks on standard and portable Pascal \050 |
| 105 | .KE |