Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbvax.BERKELEY.EDU Path: utzoo!watmath!clyde!burl!ulysses!cbosgd!ucbvax!usc-isif.arpa!JMUNGLE From: JMUNGLE@USC-ISIF.ARPA (Jerry Mungle) Newsgroups: mod.computers.vax Subject: mix and match languages Message-ID: <8603151040.AA03324@ucbvax.berkeley.edu> Date: Thu, 13-Mar-86 17:14:57 EST Article-I.D.: ucbvax.8603151040.AA03324 Posted: Thu Mar 13 17:14:57 1986 Date-Received: Sun, 16-Mar-86 10:31:50 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 14 Approved: info-vax@sri-kl.arpa We are attempting to convert some Pascal systems to the Ada language. These Pascal programs extend over several source files, so we are replacing the source files one by one. The catch is, some global data must be shared by Pascal and Ada programs. We seem to be having a problem sharing access types (pointers) and discriminant records (variant records). Pascal has a common compiler directive, and Ada has a psect pragma to help declare things for global visibility. Any hints on the fine points of mixing and matching global data?? You may reply to me directly, and I'll summarize if there is interest. ADVthanksANCE !!! -------