![](/images/backgrounds/286549/hp-sunsoft-pascal-4-0-users-manual-5493959x1.png)
| Sharing Variables Between Units . . . . . . . . . . . . . . . . . . . . . . | 71 |
| Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | 74 |
5. | Separate Compilation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | 75 |
| Working with Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | 75 |
| Using Program Units. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | 76 |
| Using Module Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | 76 |
| Sharing Variables and Routines Across Multiple Units . . . . . . | 76 |
| Compiling without the | 77 |
| Using the | 80 |
| Sharing Declarations in Multiple Units. . . . . . . . . . . . . . . . . . . . | 87 |
6. | The | 89 |
| Compilation of | 89 |
| Compatibility of Types for C and Pascal. . . . . . . . . . . . . . . . . . . | 90 |
| Precautions with Compatible Types . . . . . . . . . . . . . . . . . . . | 91 |
| Incompatibilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | 92 |
| General Parameter Passing in C and Pascal . . . . . . . . . . . . . . . . | 93 |
| Procedure Calls: | 93 |
| Variable Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | 94 |
| Value Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | 112 |
| Function Return Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | 115 |
| Input and Output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | 116 |
| Procedure Calls: | 117 |
| Variable Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | 117 |
| Value Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | 129 |
Contents | ix |