> 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