> 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

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to