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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a85144dd5d8270de X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-05 11:38:40 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!cambridge1-snf1.gtei.net!news.gtei.net!llslave.llan.ll.mit.edu!not-for-mail Message-ID: <3B44B42F.7567E774@ll.mit.edu> From: Robby Simpson Organization: MIT Lincoln Laboratory X-Mailer: Mozilla 4.76 [en]C-CCK-MCD MITLL (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Syntax Question References: <3B44AAE3.DB048BC8@ll.mit.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 05 Jul 2001 14:38:39 -0400 NNTP-Posting-Host: 155.34.61.103 X-Complaints-To: news@ll.mit.edu X-Trace: llslave.llan.ll.mit.edu 994358319 155.34.61.103 (Thu, 05 Jul 2001 14:38:39 EDT) NNTP-Posting-Date: Thu, 05 Jul 2001 14:38:39 EDT Xref: archiver1.google.com comp.lang.ada:9486 Date: 2001-07-05T14:38:39-04:00 List-Id: Actually, some_other_type is really a variable of a different type. I believe that some_var is a derived type and it is copying some_other_type's attributes and then adding more. Is this correct? Thanks, Robby Robby Simpson wrote: > > I have some ADA code I am porting to C (I am new to ADA). What would > the following code mean? > > some_var : some_type; > > some_var := (some_other_type with attr_x => value1, attr_y => value2); > > Robby