Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

string errors 1

Status
Not open for further replies.

Rurikar

Programmer
Mar 7, 2005
4
0
0
CA
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top