Thanks. The stray number must be coming from somewhere else. Stepping
through should reveal it.
> Myword:=12345;
> MyString:=inttostr(Myword);
> will put '12345' into Mystring - no question about it.
> Step your code through (put a break on the line above Myword:=12345; and
> watch the values change. You will find there is something in your code
that
> is effecting the values.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz