How to Set variable with growing integers

Asked by Matthew Metcalf

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:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Matthew Metcalf
Solved:
Last query:
Last reply:
Revision history for this message
Matthew Metcalf (mattmetcalf) said :
#1

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