Is it supported in FPC? I am afraid not, cause my program won't compile.What is closest to the record with methods which we have in Delphi?
there seems to be a lot of confusion among newer freepascal users regarding classes and objects. a class is a data type (=the abstract thing) and the object is a variable of that type
TP objects are not safe with automated types
Record not need "garbage collector" to free it, so if we have feature in FreePascal a Record have methods and can inherit it from another record and we can override some virtual methods, and then we have Create and Destroy in standard can we override them for override the initialization of this record, (i am dreaming ), and we can inherit that record from a Class, so we will have a managed objects in free pascal.