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