Is it possible to add an integer to the name of a TEdit component from a loop? I'm trying to add an integer to the name of a number of edit boxes that contain various .text strings so I can iterate through the group and compare their text to a another string in another edit box... something like this:
For n := 1 to 40 do
If Edit+IntToStr(n)+.text = Editbox1.text then
(ShowMessage Edit+IntToStr(n) + 'is a match')
The above of course does not work. There must be a way to do what should be a simple string comparison operation but apparently my approach is on the wrong track; any help would be appreciated.