Talk:Class Variable in Generics
There seem to be a number of errors in the sample code, at least as compiled with XE2, which I believe should work fine.
procedure Test; var <--- missing var statement FI: TFoo<Integer>;
begin FI := TFoo<;Integer>.Create; <--- Superfluous semicolon after open bracket FI.Free; FS := TFoo<;String>.Create; <--- Superfluous semicolon after open bracket
end; <--- end of main proc in console app needs period, not semicolon
Hope these can be corrected.
Response
We will investigate this issue and make the necessary corrections.
Many thanks for your contribution to the docwiki.
KrisHouser (talk) 07:56, 25 September 2013 (PDT)
RS-43855