As a follow on from Q_24323728 I have the following situation:
TMyRecord = record
TMyRecType =(rtTypeOne, rtTypeTwo, etTypeThree);
...where TMyObject has its own constructors/destructors/properties/methods etc
I need to find a way of checking whether or not the RecData object has been created. If I declare the following:
MyRecord := TMyRecord;
...then subsequent calls to:
... are always true even though the RecData constructor has not been run. How can I check if the actual object has been created?