I have a version of a little test program that I've been studying, that compiles OK, no error messages, when the green Run arrow is pushed, its form appears with buttons and so forth. When I push its only one button, the executable closes.
I compare the Unit code of it, with one project practically the same that has no problems, and I can see no reason for what happens.
The one thing is that for the project that has the problem the very first line "Unit Unit1;" is highlighted with SOLID RED color all across the SourceEditor.
I wonder if something got corrupt, maybe in another of the files of the project (which I have not yet inspected nor have a clue of how to).
I can delete the project, but I am curious as to why this is happening, and that's one way to build confidence.
Thanks for any suggestions.