Article View: comp.lang.modula2
Article #3381Re: SIZE function for FST (DOS) compiler?
From: Jeffrey E Stoner
Date: Mon, 18 Mar 1996 05:45
Date: Mon, 18 Mar 1996 05:45
18 lines
1329 bytes
1329 bytes
Ronald Snelgrove (ronald@newton.physics.BrockU.CA) wrote: : To anyone using the Fitted Software Modula-2 compiler for DOS: : I have already looked through all of the definition modules for this and : couldn't find it, so I'm hoping that I have just missed it. I was wondering : if there was a function that when given a data type, would return the number : of bytes required to store that type, ie SIZE(INTEGER) would return 2. This : would be the equivalent to the TSIZE function on the Macintosh MetroWerks : compiler, if that helps anyone. Well, in the manual, pages 21-22 lists the amount of storage for each data type. Simply count 'em up. Jeff -- * internet--> jesst63+@pitt.edu * This space reserved * * http://www.pitt.edu/~jesst63 * for something much * * "I am outcast, unclean." - Thomas Covenant * better to come along *
Technical Details
Message-ID:
<4iitag$ai7@usenet.srv.cis.pitt.edu>Path:
arc1-ca.pugleaf.net!newsfeed.pitt.edu!jesst63References:
<1996Mar17.041332.11054@spartan.ac.BrockU.CA>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!newsfeed.pitt.edu!jesst63 From: jesst63+@pitt.edu (Jeffrey E Stoner) Newsgroups: comp.lang.modula2 Subject: Re: SIZE function for FST (DOS) compiler? Date: 18 Mar 1996 05:45:52 GMT Organization: University of Pittsburgh Message-ID: <4iitag$ai7@usenet.srv.cis.pitt.edu> References: <1996Mar17.041332.11054@spartan.ac.BrockU.CA> NNTP-Posting-Host: unixs-eval.cis.pitt.edu X-Newsreader: TIN [version 1.2 PL2]