home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / modula2 / 1558 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  1.8 KB

  1. Path: sparky!uunet!olivea!charnel!psgrain!hippo!apj
  2. From: apj@beldin.sun.ac.za (Andries Dippenaar)
  3. Newsgroups: comp.lang.modula2
  4. Subject: Re: DOS compilers
  5. Message-ID: <1992Dec14.094844.16924@hippo.ru.ac.za>
  6. Date: 14 Dec 92 09:48:44 GMT
  7. References: <1992Dec12.041140.13563@reed.edu>
  8. Sender: news@hippo.ru.ac.za
  9. Organization: University of Stellenbosch
  10. Lines: 28
  11. X-Newsreader: TIN [version 1.1 PL7]
  12.  
  13. Woodrow Yeung (yeung@reed.edu) wrote:
  14. : In article <00964EF9.ED4454E0.16140@esseX.stfx.ca> Modula2 List <INFO-M2%UCF1VM.BITNET@uga.cc.uga.edu> writes:
  15. : >>Woody  asks
  16. : >>I need a DOS Modula-2 compiler that will pack subranges, for example,
  17. : >>[0..255] would be stored in 1 BYTE.  The compiler that I ues store it as an
  18. : >>INTEGER.
  19. : >
  20. : >For a case like this i just use an ordinary character as a byte value
  21. : >then do the conversions with the standard built in functions.
  22. : >
  23. : Problem is I'm doing cross platform development and my code already takes
  24. : advantage of subrange packing on the Mac side.
  25.  
  26. Most DOS compilers should -- for one I know that the TopSpeed
  27. compilers pack all data types into the smallest possible memory.  You
  28. may select to override it here and there if you wish.  I haven't got
  29. any experience with the Stony Brook compiler, but would expect nothing
  30. less of it.  Could someone perhaps check to see what the FST compiler
  31. does, I haven't got a copy at hand.
  32.  
  33. Andries
  34. ***********************************************************************
  35. *       /|~~\ * APJ Dippenaar        * "If you wanna make the world a *
  36. *     /__|__/ * apj@beldin.sun.ac.za *  better place, take a look at  *
  37. *   /    |    * Univ of Stellenbosch *  yourself and make a change."  *
  38. * /   \__|    * South Africa         *             -- Michael Jackson *
  39. ***********************************************************************
  40.