furmiga
asked on
Something like a eval('oblect'+1).whatever ???????
okie.... supose u have 10 text boxies and i named them like box1, box2, box3..... now i want to make a do while or something..
and i want to call all those 10 boxies in this do while but of corse just using one single call.
In ActionScript there is a function named eval that does that:
counter = 0
same = 0
while counter < 11 do
{
counter++
if eval('box'+counter).text == 'lala'
{
same++
}
}
Well there ar any possible to make it in Delphi ?
Thanks in advance :)
and i want to call all those 10 boxies in this do while but of corse just using one single call.
In ActionScript there is a function named eval that does that:
counter = 0
same = 0
while counter < 11 do
{
counter++
if eval('box'+counter).text == 'lala'
{
same++
}
}
Well there ar any possible to make it in Delphi ?
Thanks in advance :)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ty a lot man that solved my problem :)
just as hint, no time yet
meikl ;-)