home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!gatech!europa.asd.contel.com!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!sunic!ericom!etlxd10h!etljmme
- From: etljmme@etlxd30.ericsson.se (Jim)
- Subject: Re: Distributing TPUs
- Message-ID: <1992Dec21.155741.4122@ericsson.se>
- Sender: news@ericsson.se
- Nntp-Posting-Host: etlxd10h.ericsson.se
- Reply-To: etljmme@etlxd30.ericsson.se
- Organization: Ericsson Telecom AB
- References: <1992Dec21.135420.10280@discus.technion.ac.il>
- Date: Mon, 21 Dec 1992 15:57:41 GMT
- Lines: 16
-
- In article 10280@discus.technion.ac.il, s2942275@techst02.technion.ac.il (Yaniv Golan) writes:
- >I want to distribute a TP unit which uses a second unit. I do not want
- >to distribute the second unit with it, only the first TPU. Can it be done ?
- > [Example of nested units deleted]
- >What am i doing wrong? Or maybe it is impossible to do it?
-
- Hi Yaniv, this is, as far as I know, the case:
-
- The compiler cannot compile nested units without all the units being present.
- Using your analogy; if unit B calls routines from unit A, the compiler will
- still require unit A to be present because when you created unit B, there was
- no code from unit A added into the TPU file. All used units must be present
- at compile time. Hope this helps.
-
- Cheerio,
- Jim.
-