Short strings can have 255 characters maximum, so we can not define string[4600] (at least with older Delphi compilers, I'm not familiar with the latest versions). Calling FillChar(P^, sizeof(TMyRec), 0); after GetMem() will eliminate the problem even without the restriction of the short string.
Bookmarks