I cant seem to solve this problem, heres what I have...
vid1=0;
vid2=0;
vid3=0;
num=1;
'vid'+num = 1;
// vid1=1;
I want to create the variable based on the number, so if the number is 2, then make a variable by the name of vid2 and set it equal to 1.
PS: This is my first time on stackoverflow, so sorry if I made any mistakes in terms of tradition on this website =) And thannks in advanced.