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!news3.google.com!news.glorb.com!newscon02.news.prodigy.com!newscon06.news.prodigy.com!prodigy.net!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: 14 Mar 2005 15:30:39 -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 1110832240 18656 69.38.147.31 (14 Mar 2005 20:30:40 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Mon, 14 Mar 2005 20:30:40 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: g2news1.google.com comp.lang.ada:9388 comp.lang.c++:45656 comp.realtime:1469 comp.software-eng:5035 Date: 2005-03-14T15:30:39-05:00 List-Id: Kilgallen@SpamCop.net (Larry Kilgallen) writes: > > Anyway, nested functions are really nested in any useful sense if you ^not Of course I meant "not" above. Sorry again. > > can't do uplevel addressing, right? > > I much prefer that capability, but in Bliss (which lacks uplevel addressing) Hmm. I had forgotten that about Bliss. I did a fair amount of Bliss programming a long time ago... So it's sort of like a "static" variable declared inside a C function -- it's nested with respect to visibility, but its lifetime is not, so its run-time semantics are just as if declared at top level. > there is some benefit provided by just the reduced visibility of the > nested function. I know for sure that I can call my nested function > RETRIEVE_STATUS without worrying about a conflict with something else > of the first name. > > This is _certainly_ not a Bliss vs. Ada argument, but for me it is > a Bliss vs. C argument. > > Please remember, however, that I only mentioned it because you asked :-) Well thanks for answering. ;-) - Bob