Using variable values within other variables (Language Help)
I'm working on a program that needs to use the incremental value of a for to loop in another variable name, like this:
for ddi=1 to 10
What I'm trying to do is take a ten-digit number (wcheck) and add the digits together to check against a checksum. Is there a way to make the value of ddi part of another variable (dc1$-dc10$)? Or is there an easier way of doing this rather than converting the number to a string, stripping the numbers with the mid statement, then converting them back to add them?