I need code to create multiple variables from the subroutine. I need to create DS1 - DS40. Those need to be the variable names, but I'd like the program to create them without having to type them all in. If I know how to do this, I can apply it to multiple programs.
For T = 1 to 40
DS(T) = rnd *10
I need the program to create variables based on a counter. These variables have to be declared as single. I would like the simplest way to do this.