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-Thread: 103376,cab230a084a14384 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!t-online.de!irazu.switch.ch!news-zh.switch.ch!switch.ch!news.hispeed.ch!linux2.krischik.com!news From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: ++ of C in ada Date: Mon, 25 Jul 2005 19:00:47 +0200 Organization: Cablecom Newsserver Message-ID: <3880306.s4FKnVCnmr@linux1.krischik.com> References: <1122228917.377279.262690@g47g2000cwa.googlegroups.com> NNTP-Posting-Host: 84-73-3-177.dclient.hispeed.ch Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.hispeed.ch 1122312615 6012 84.73.3.177 (25 Jul 2005 17:30:15 GMT) X-Complaints-To: news@hispeed.ch NNTP-Posting-Date: Mon, 25 Jul 2005 17:30:15 +0000 (UTC) User-Agent: KNode/0.9.0 Xref: g2news1.google.com comp.lang.ada:3758 Date: 2005-07-25T19:00:47+02:00 List-Id: nicolas.b wrote: > How can i implement the operator ++ in ada : > > type T_Ptr is access all T_Item; > How can i implement : procedure Increment (Ptr : in out T_Ptr); > thanks Other allready pointed out that what you are asking it is not a good idea. May I suggest the following readings: http://en.wikibooks.org/wiki/Programming:Ada:Control#for_loop_on_arrays http://en.wikibooks.org/wiki/Programming:Ada:Types:array Martin -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com