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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3885b7fd66a1db28 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-21 16:34:32 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn14feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail Reply-To: "James S. Rogers" From: "James S. Rogers" Newsgroups: comp.lang.ada References: <3E048CF5.EC92DE29@t-online.de> Subject: Re: Why is Ada NOT a good choice for a beginner to programming? X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: Date: Sun, 22 Dec 2002 00:34:32 GMT NNTP-Posting-Host: 12.86.36.240 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1040517272 12.86.36.240 (Sun, 22 Dec 2002 00:34:32 GMT) NNTP-Posting-Date: Sun, 22 Dec 2002 00:34:32 GMT Organization: AT&T Worldnet Xref: archiver1.google.com comp.lang.ada:32174 Date: 2002-12-22T00:34:32+00:00 List-Id: "Alfred Hilscher" wrote in message news:3E048CF5.EC92DE29@t-online.de... > > > Dale Stanbrough schrieb: > > > > David Wright wrote: > > > > > > > > 1) A free (preferably) downloadable programming environment that is installs > > > without fuss and instability > > > > Gnat does this (and has the best error messages i've ever seen from > > a compiler). > > But sometimes it should produce some warnings. See the thread > "CONSTRAINT_ERROR - why?" Constraint_Error is a run time exception. The compiler cannot detect all possible errors. Some are detectable only at run time. The GNAT compiler identifies the location in the code where a Constraint_Error was raised. It is up to the programmer to the trace through the code to determine the initial cause of the error. Often the initial cause is improper logic some distance from the location where the exception is raised. In the case of the thread mentioned above, the error was caused primarily by unfounded assumptions made by the OP. According to the RM the compiler and run time system behaved properly. Jim Rogers