[fpc-pascal] Why this code fails
Jonas Maebe
jonas.maebe at elis.ugent.be
Tue Jan 16 16:30:35 CET 2007
On 16 jan 2007, at 15:55, Matt Emson wrote:
>> 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.
Yes, it does and it works fine if used in this program.
Jonas
More information about the fpc-pascal
mailing list