How to Set variable with growing integers

Asked by Matthew Metcalf on 2020-03-20

Hi I am looking for a way to concatenate a string variable with a number. Basically i have lots of images that i need to run in a loop

Image1(Image)
Image2(Image)
Image3(Image)
Etc.
n=1

Is there a way i can concatenate the string image with something like
Image = Image & (value of N) So it returns Image1

I am still very new so apologies if this is super basic, any help would be greatly appreciated

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
Matthew Metcalf
Solved:
2020-03-20
Last query:
2020-03-20
Last reply:
Matthew Metcalf (mattmetcalf) said : #1

sorry i asked prematurely and found the answer on the message board.