home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / pascal / 7602 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.2 KB  |  30 lines

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