[fpc-pascal] Why this code fails

Matt Emson memsom at interalpha.co.uk
Tue Jan 16 15:55:01 CET 2007



> The reason is that it tries to convert S to a number rather than V to
> a string. The error is still in the current 2.1.1.

Does FPC have :

function VarToStr(const V: Variant): string;

As this is what I would tend to advocate for this kind os assignment anyway.

M




More information about the fpc-pascal mailing list