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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1901f265c928a511 X-Google-Attributes: gid103376,public Path: g2news1.google.com!news1.google.com!news.glorb.com!wn13feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!53ab2750!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Typing in Ada From: James Rogers References: <40BDBBFA.2020203@noplace.com> Message-ID: User-Agent: Xnews/5.04.25 Date: Thu, 17 Jun 2004 04:24:11 GMT NNTP-Posting-Host: 12.73.181.141 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1087446251 12.73.181.141 (Thu, 17 Jun 2004 04:24:11 GMT) NNTP-Posting-Date: Thu, 17 Jun 2004 04:24:11 GMT Organization: AT&T Worldnet Xref: g2news1.google.com comp.lang.ada:1599 Date: 2004-06-17T04:24:11+00:00 List-Id: Dave Thompson wrote in news:gn12d0pk7e6hhmhr6k87hcj4olebou5hel@4ax.com: > One of the regulars on comp.lang.c, Chris Torek, likes to suggest that > the 'struct' keyword -- which unlike 'typedef' does create a distinct > type as far as the C compiler is concerned -- should be read as an > acronym "STRange spelling for User Constructed Type". :-) Yes, a C struct is the means for creating a user defined type. It is similar to an Ada record, without all the representation control or the possibility of discriminants. One important difference between Ada records and C structs is in the creation of incomplete types. A C compiler allows the creation of incomplete types under the assumption that the type will be completed through the linking process, while an Ada compiler must have all types completed at compile time. Jim Rogers