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

  1. Path: sparky!uunet!cs.utexas.edu!uwm.edu!ogicse!reed!yeung
  2. From: yeung@reed.edu (Woodrow Yeung)
  3. Newsgroups: comp.lang.modula2
  4. Subject: Re: DOS compilers
  5. Message-ID: <1992Dec12.041140.13563@reed.edu>
  6. Date: 12 Dec 92 04:11:40 GMT
  7. Article-I.D.: reed.1992Dec12.041140.13563
  8. References: <00964EF9.ED4454E0.16140@esseX.stfx.ca>
  9. Organization: Reed College, Portland, Oregon
  10. Lines: 15
  11.  
  12. In article <00964EF9.ED4454E0.16140@esseX.stfx.ca> Modula2 List <INFO-M2%UCF1VM.BITNET@uga.cc.uga.edu> writes:
  13. >>Woody  asks
  14. >>I need a DOS Modula-2 compiler that will pack subranges, for example,
  15. >>[0..255] would be stored in 1 BYTE.  The compiler that I ues store it as an
  16. >>INTEGER.
  17. >
  18. >For a case like this i just use an ordinary character as a byte value
  19. >then do the conversions with the standard built in functions.
  20. >
  21.  
  22. Problem is I'm doing cross platform development and my code already takes
  23. advantage of subrange packing on the Mac side.
  24.  
  25. Woody
  26. yeung@reed.edu
  27.