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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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!news1.google.com!newsread.com!news-xfer.newsread.com!news.glorb.com!npeer.de.kpn-eurorings.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Wes Groleau Newsgroups: comp.lang.ada,comp.lang.c++,comp.realtime,comp.software-eng Subject: Re: Teaching new tricks to an old dog (C++ -->Ada) Date: Wed, 09 Mar 2005 22:36:00 -0500 Organization: Ain't no organization here! Message-ID: <399tkeF5utki4U1@individual.net> References: <4229bad9$0$1019$afc38c87@news.optusnet.com.au> <1110032222.447846.167060@g14g2000cwa.googlegroups.com> <871xau9nlh.fsf@insalien.org> <3SjWd.103128$Vf.3969241@news000.worldonline.dk> <87r7iu85lf.fsf@insalien.org> <1110052142.832650@athnrd02> <1110284070.410136.205090@o13g2000cwo.googlegroups.com> <395uqaF5rhu2mU1@individual.net> <1110377260.350158.58730@z14g2000cwz.googlegroups.com> <1110383768.773379.61780@o13g2000cwo.googlegroups.com> Reply-To: groleau+news@freeshell.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net CiojHzDLjbiZFaazpC1IjwHK7MvZggmuHYPFxD9viHczfiJI9/ User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en In-Reply-To: <1110383768.773379.61780@o13g2000cwo.googlegroups.com> Xref: g2news1.google.com comp.lang.ada:8998 comp.lang.c++:44895 comp.realtime:1174 comp.software-eng:4736 Date: 2005-03-09T22:36:00-05:00 List-Id: jimmaureenrogers@worldnet.att.net wrote: > The simple loop will always be an infinite loop unless > you break out early. The Ada reserved word used to > break out of a loop is "exit". In Ada "exit" does not > exit the program, only the enlcosing loop. Or (for nested loops), each loop can have a name, and the exit statement can exit out of two or more nested loops by using the name of the level to get out of. Java has a construct that can do something like that. Does C++ ? -- Wes Groleau "Would the prodigal have gone home if the elder brother was running the farm?" -- James Jordan