I am so crossed----I've spent already an hour to figure out why my custom attributes don't work and realised that the compiler doesn't check whether the corresponding classes exist......gkrrrrr

I am so crossed----I've spent already an hour to figure out why my custom attributes don't work and realised that the compiler doesn't check whether the corresponding classes exist......gkrrrrr

For example, this compiles:

type
TmyClass = class
[djhgfskdhgks]
procedure One;
end;

What???

Comments

  1. David Heffernan Actually I get a warning which I didn't notice as I have the message window automatically hide (now I realised that this may not be very wise)

    ReplyDelete
  2. Yeah, warnings are pretty useful! ☺️

    ReplyDelete
  3. Perhaps there should be a setting for it to hide unless warnings or errors - would make them doubly obvious, similarly for the compile window.

    ReplyDelete

Post a Comment