I am trying to assign true/ false using for loop
for (i=1;i<31;i++){
_global.level + i + Access = true;
}
and got error as "Left side of assignment operator must be variable or property" any help
Look at what the error is telling you. Is this a variable or property
_global.level + i + Access //the left hand side of the assignment
Until more detail about what level and Access are is given there's not much help we can give.
A solution might be, (making a guess that level is and array and Access is a property)
_global.level[i].Access = true;
_global["level" + i].Access- mgraph