Hereīs a part of a script:

$text0 = $project.controls.label
$text0.text = "test 1"
...
$text1 = $project.controls.label
$text1.text = "test 2"
...
$text2 =$project.controls.label
$text2.text = "test 3"
...

My question is, if there is a possibility to increase the digits in $text... automatically

Something like that
for $x = 0 to 10
$text$x = ....
I know that this is not possible that way, itīs only to demonstrate what I mean. But perhaps there is another way to increase the names of These vairables automatically?

Thanks
Statler