← Back to team overview

sikuli-driver team mailing list archive

[Question #689403]: How to Set variable with growing integers

 

New question #689403 on Sikuli:
https://answers.launchpad.net/sikuli/+question/689403

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

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.