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.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00, LOTS_OF_MONEY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a50a3c40267219cc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-15 10:57:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!psinet-eu-nl!psiuk-p4!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: The caselessness is one of the things I like best! Date: Mon, 15 Oct 2001 13:35:51 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9qf6pp$36a$1@nh.pace.co.uk> References: NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1003167353 3274 136.170.200.133 (15 Oct 2001 17:35:53 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 15 Oct 2001 17:35:53 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:14559 Date: 2001-10-15T17:35:53+00:00 List-Id: Hmmmmmm..... Just tried this with gcc: ui32 Event_Code = k_pmsg_Display_Start ; ....and then..... event_code = k_pmsg_Display_Start ; Got the following complaint: msgeas/Msg_Display.cpp: In function `void dis_Show_Window(struct Msg_Display_Type &)': msgeas/Msg_Display.cpp:359: `event_code' undeclared (first use this function) There may be conditions under which differences in character case go undetected, but its not quite the case where undeclared variables just get created. Not that I want to defend C or anything like that. Just not fair to criticize it without justification... MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/ wrote in message news:nCEy7.18794$gT6.11921760@news1.rdc1.sfba.home.com... > In fact you can write a case sensitive Ada program, and the compiler > will in fact complain if you try to declare two entities where the only > difference is case. The only difference with C is that the compiler > doesn't warn you, but silently creates two separate entities. :) >