Chapter Contents |
Previous |
Next |
Simple Interlanguage Communication |
Communication between C and another high-level language such as FORTRAN or PL/I follows the same principles as communication between C and assembler language. (See Communication with Assembler Programs for more information on communicating with assembler language programs.) However, a high-level language introduces several potential complications into the communication.
First, many high-level languages require their own execution framework, or environment. (Execution frameworks are also discussed in more detail in Using the indep Option for Interlanguage Communication.) The other language's framework must be active when a routine in that language receives control. This is in contrast to assembler language programs, which can execute with the C execution framework still active. When control passes to C, the C framework must be active. Therefore, the appropriate framework must be activated whenever control passes across a language boundary.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.