How do you make an array range between numbers : **Hello guys, this is to do with my GCSE case study**

I want to make numbers range in an array

for example (in pheusocode)

**StudentNames** [1:30]           <---- numbers from 1 to 30

If anyone understands what I am trying to say please reply

Thanks,