From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,72340e997bfd5289 X-Google-Attributes: gid103376,public From: "James E. Hopper" Subject: Re: array size Date: 1999/12/12 Message-ID: <121219991240414699%hopperj@macconnect.com>#1/1 X-Deja-AN: 559767838 Content-Transfer-Encoding: 8bit References: <101219991605504828%hopperj@macconnect.com> <3852831a.0@news.pacifier.com> <111219991626405236%hopperj@macconnect.com> <38532c6a.0@news.pacifier.com> Organization: http://extra.newsguy.com Content-Type: text/plain; charset=ISO-8859-1 User-Agent: YA-NewsWatcher/4.2.3 Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-12-12T00:00:00+00:00 List-Id: Well i have been told that pragma pack was machine dependent in what it does in this program. gee imaging that pragma pack doesnt ;-) so i tried component size with form all of the allowed values none of them made the slightest difference in every case each array element which was an array is padded with 2 bytes. i am stumped, there doesnt seem to be anyway to create and array of arrays and define the byte alignmented fully that i can find, or that anyone can suggest. this is a piece of working vads code so changing the data structure ripples through a lot of other things and is not a welcome solution! jim In article <38532c6a.0@news.pacifier.com>, DuckE wrote: > BTW: When I tested your code on NT I was guessing that I would need some > sort of component_size representation clause in the array declaration (as > has been described in the 3 bit array thread). I was actually suprised at > my result.