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,2f63c66b1f04412d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-18 18:38:25 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!elnk-pas-nf1!elnk-nf2-pas!newsfeed.earthlink.net!wn14feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!attbi_s52.POSTED!not-for-mail From: "Steve" Newsgroups: comp.lang.ada References: Subject: Re: How to define an array of a variant record type? X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: NNTP-Posting-Host: 12.211.58.135 X-Complaints-To: abuse@comcast.net X-Trace: attbi_s52 1069209504 12.211.58.135 (Wed, 19 Nov 2003 02:38:24 GMT) NNTP-Posting-Date: Wed, 19 Nov 2003 02:38:24 GMT Organization: Comcast Online Date: Wed, 19 Nov 2003 02:38:24 GMT Xref: archiver1.google.com comp.lang.ada:2663 Date: 2003-11-19T02:38:24+00:00 List-Id: One other thing I can't resist mentioning. Here is a snippet of Ada Code in oue of our systems. TYPE aConstantDataItemCAX (itemTypeCAX : aConstantDataTypeCAX := invalidTypeCAX) IS RECORD CASE itemTypeCAX IS WHEN invalidTypeCAX | iTypeCAX => --The data item that is used to pass data between screen edit --and the access procedures intValueCAX : integer; WHEN fTypeCAX => realValueCAX : float; WHEN eTypeCAX => eValueCAX : anEnumRecordCAX; WHEN sTypeCAX => stringValueCAX : aConstantStringCAX; END CASE; END RECORD; Funny how the same ideas come up again and again. The original code was written in Pascal around 1987. Steve (The Duck)