* write length/code page when writing the string type

git-svn-id: trunk@45654 -
This commit is contained in:
florian 2020-06-15 19:50:49 +00:00
parent 1ff1921d14
commit c6c996f506

View File

@ -2688,6 +2688,14 @@ implementation
'ShortString','LongString','AnsiString','WideString','UnicodeString');
begin
GetTypeName:=names[stringtype];
case stringtype of
st_ansistring,st_unicodestring:
GetTypeName:=GetTypeName+'('+tostr(encoding)+')';
st_shortstring:
GetTypeName:=GetTypeName+'['+tostr(len)+']';
else
;
end;
end;