How to declare a property of a string of a fixed size in Delphi?
This is what I want to do, but I get an error:
TMyObject = class(TObject) private FName : string[20]; public property Name : string[20] read FName write FName;
Compiler Error: "An INDEX, READ, or WRITE clause is expected, but" ['found'.
Chris source share