Results 1 to 3 of 3

Thread: Odd Delphi hint

  1. #1

    Odd Delphi hint

    Hey,

    I'm curious if you know a good answer to this...

    Delphi gives me the following hint:

    [DCC Hint] nasha_application.pas(46): H2365 Override method TNashaApplication.OnUpdate should match case of ancestor TEventListener.onUpdate
    I thought Delphi was not case sensitive. Does anybody know why delphi wants me to fix that?

    Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.

  2. #2
    Just a guess but perhaps it is because of cross OS support?

    edit: A similar question has been raised here: https://forums.embarcadero.com/messa...ssageID=245761
    The idea is that it's because of .Net...
    Last edited by Traveler; 09-03-2011 at 04:23 PM.

  3. #3
    I think Wayne Niddery's answer is very good in that regard.

    <snip text>If it were actually case-insensitive, it would be an error instead of just a warning.<snip text>
    Anyway, I dearly hope Delphi/Pascal never goes case-insensitive. It is one of the things I hate in C++, Java and the like.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •