HP SunSoft Pascal 4.0 Manual do Utilizador Página 10

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 333
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 9
x Pascal 4.0 Users Guide
Function Return Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Parameters That Are Pointers to Procedures . . . . . . . . . . . . 131
Procedures and Functions as Parameters . . . . . . . . . . . . . . . . . . 132
Global Variables in C and Pascal . . . . . . . . . . . . . . . . . . . . . . . . . 133
File-Passing Between Pascal and C . . . . . . . . . . . . . . . . . . . . . . . 134
7. The C++–Pascal Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Sample Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Compatibility of Types for C++ and Pascal . . . . . . . . . . . . . . . . 138
C++ Name Encoding. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Procedure Calls: C++–Pascal . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Arguments Passed by Reference . . . . . . . . . . . . . . . . . . . . . . 139
Arguments Passed by Value. . . . . . . . . . . . . . . . . . . . . . . . . . 150
Function Return Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
Procedure Calls: Pascal–C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
Arguments Passed by Reference . . . . . . . . . . . . . . . . . . . . . . 155
Arguments Passed by Value. . . . . . . . . . . . . . . . . . . . . . . . . . 157
Function Return Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
Global Variables in C++ and Pascal. . . . . . . . . . . . . . . . . . . . . . . 161
Pascal File Pointers to C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
8. The FORTRAN–Pascal Interface . . . . . . . . . . . . . . . . . . . . . . . . 163
Compiler Mixed-Language Programs. . . . . . . . . . . . . . . . . . . . . 163
Compatibility of Types for FORTRAN and Pascal. . . . . . . . . . . 164
Precautions with Compatible Types . . . . . . . . . . . . . . . . . . . 165
Incompatibilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
Vista de página 9
1 2 ... 5 6 7 8 9 10 11 12 13 14 15 ... 332 333

Comentários a estes Manuais

Sem comentários