views:

325

answers:

1

I have a some numbers stored in a Integer called mode, but I need to use they in a TProcess. For this I need to convert the Integer into a String, because if I don't do this, I got the error:

Incompatible types: got "LongInt" expected "AnsiString"

Then I want to know how I can convert a Integer into a String?

+10  A: 

You can use IntToStr:

A:=IntToStr(123)
notnoop