I have a handlers called invslot1A,,invslot2A,invslot3A... etc up to 21, is there anyway i can access these without having to type them out?
repeat with i = 1 to 21
--This will work but to do this i couldn't use a repeat command
-- invslot3A = value("invslot"&string(i)&"A") + 1
-- im trying to do something like this but i can't find a method to make it work correctly
string("invslot"&string(i)&"A") = value("invslot"&string(i)&"A") + 1
end repeat
repeat with i = 1 to 21
--This will work but to do this i couldn't use a repeat command
-- invslot3A = value("invslot"&string(i)&"A") + 1
-- im trying to do something like this but i can't find a method to make it work correctly
string("invslot"&string(i)&"A") = value("invslot"&string(i)&"A") + 1
end repeat