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,703c4f68db81387d X-Google-Thread: 109fba,703c4f68db81387d X-Google-Thread: 115aec,703c4f68db81387d X-Google-Thread: f43e6,703c4f68db81387d X-Google-Attributes: gid103376,gid109fba,gid115aec,gidf43e6,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!newshub.sdsu.edu!peer01.cox.net!peer02.cox.net!cox.net!panix!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada,comp.lang.c++,comp.realtime,comp.software-eng Subject: Re: Teaching new tricks to an old dog (C++ -->Ada) Date: 13 Mar 2005 18:38:26 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <4229bad9$0$1019$afc38c87@news.optusnet.com.au> <1110377260.350158.58730@z14g2000cwz.googlegroups.com> NNTP-Posting-Host: shell01-e.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls4.std.com 1110757108 15449 69.38.147.31 (13 Mar 2005 23:38:28 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Sun, 13 Mar 2005 23:38:28 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: g2news1.google.com comp.lang.ada:9338 comp.lang.c++:45466 comp.realtime:1433 comp.software-eng:4996 Date: 2005-03-13T18:38:26-05:00 List-Id: Kilgallen@SpamCop.net (Larry Kilgallen) writes: > In article , Robert A Duff writes: > > Kilgallen@SpamCop.net (Larry Kilgallen) writes: > > > >> Even Bliss has nested functions. What Ada has that Pascal has in addition > >> to nested functions is uplevel addressing, allowing an inner function to > >> access data declared in outer scopes. > > > > Heh? Pascal has that. > > Yes, I just said Pascal had that. Oh, sorry, I must have thought you said "...in addition to what Pascal has..." or something. My bad. Anyway, nested functions are really nested in any useful sense if you can't do uplevel addressing, right? - Bob