Article View: comp.lang.modula2
Article #3379SIZE function for FST (DOS) compiler?
From: Ronald Snelgrove
Date: Sun, 17 Mar 1996 04:13
Date: Sun, 17 Mar 1996 04:13
10 lines
973 bytes
973 bytes
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. Thanks Ron
Technical Details
Message-ID:
<1996Mar17.041332.11054@spartan.ac.BrockU.CA>Path:
arc1-ca.pugleaf.net!spartan.ac.BrockU.CA!ronaldShow Full Headers
Complete Article Headers
Newsgroups: comp.lang.modula2 Path: arc1-ca.pugleaf.net!spartan.ac.BrockU.CA!ronald From: ronald@newton.physics.BrockU.CA (Ronald Snelgrove) Subject: SIZE function for FST (DOS) compiler? Message-ID: <1996Mar17.041332.11054@spartan.ac.BrockU.CA> Sender: news@spartan.ac.BrockU.CA (Usenet News) Nntp-Posting-Host: newton.physics.brocku.ca Organization: Brock University, St. Catharines Ontario X-Newsreader: TIN [version 1.1 PL9] Date: Sun, 17 Mar 1996 04:13:32 GMT