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-Thread: 103376,131f06967722ab4b X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!f14g2000cwb.googlegroups.com!not-for-mail From: conradwt@runbox.com Newsgroups: comp.lang.ada Subject: Re: Ada 2005? Date: 20 Dec 2004 12:06:50 -0800 Organization: http://groups.google.com Message-ID: <1103570622.576598.204440@f14g2000cwb.googlegroups.com> References: <1103344064.372396.51420@c13g2000cwb.googlegroups.com> NNTP-Posting-Host: 130.76.64.15 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1103573229 13133 127.0.0.1 (20 Dec 2004 20:07:09 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 20 Dec 2004 20:07:09 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: f14g2000cwb.googlegroups.com; posting-host=130.76.64.15; posting-account=2cgjjBMAAABgvdnIs0P9Xl7xUt0Ov5d9TxVz2CChb4Lc4MXNcZuFCw Xref: g2news1.google.com comp.lang.ada:7101 Date: 2004-12-20T12:06:50-08:00 List-Id: Hi Martin, I'm not hung up on a 'class' keyword but this would make it clear as to what one is trying to do in the converting steps from C++ to Ada. Also, this was an example from one of the Ada resources and you'll find it at the following address: http://www.adahome.com/Ammo/Cplpl2Ada.html Thus, you're saying that I could have declared the functions as followed: function Name return String; function Major return Integer; function Minor return Integer; Then, you're saying that I can use it as follows: aDevice : Device_Type := Devices.Create( "Test", 1, 1 ); Put_Line( aDevice.Name ); Put_Line( aDevice.Major ); Put_Line( aDevice.Minor ); Thanks in advance, -Conrad