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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,896d86ef3723978c X-Google-Attributes: gid103376,public From: "W. Wesley Groleau x4923" Subject: Re: maintenance of overriding subprograms Date: 1997/09/09 Message-ID: <3415C25A.3D7B@pseserv3.fw.hac.com>#1/1 X-Deja-AN: 271087536 Sender: usenet@most.fw.hac.com (News Administration) References: <340C2EA5.B9F@gsfc.nasa.gov> <340DCE1D.6C5F@bix.com> <5v3dlu$pgu$1@miso.it.uq.edu.au> X-Nntp-Posting-Host: sparc02 Organization: Hughes Defense Communications Newsgroups: comp.lang.ada Date: 1997-09-09T00:00:00+00:00 List-Id: > I have certainly been caught by misspelling a routine intended to override > another. This would not be a problem if the two cases were syntactically > distinguished. > To be more specific, I spelt "Initialize" as "Initialise" which is the > correct spelling of this word in Australian English. ( I know the Americans > spell it with "ize", but am not sure how it is spelt by English people.) > Anyway, this attempted overriding of the routine in Ada.Finalization resulted > in a constraint error because of the failure to initialise the structure, > rather than a compiler error which one would normally expect from misspelling > an identifier. Workaround (not the ideal, but would help) for each identifier in a susceptible set use "agrep" to look for close but not exact matches. (agrep = approximate grep. It is also the basis of a Web tool called glimpse. Web search for either should find plenty.) -- ---------------------------------------------------------------------- Wes Groleau, Hughes Defense Communications, Fort Wayne, IN USA Senior Software Engineer - AFATDS Tool-smith Wanna-be wwgrol AT pseserv3.fw.hac.com Don't send advertisements to this domain unless asked! All disk space on fw.hac.com hosts belongs to either Hughes Defense Communications or the United States government. Using email to store YOUR advertising on them is trespassing! ----------------------------------------------------------------------