What is the most efficient way of populating an arrary myarray(26,1) with the letters of the alphabet so that
myarray(1,1)=”A”
myarray(2,1)=”B”
.
myarray(26,1)=”Z”
Is it possible to vary the order so that cycle starts at different point?
myarray(11,1)=”A”
myarray(12,1)=”B”
.
myarray(10,1)=”Z”
I realise that I could create 26 lines of code, 1 for each letter but was hoping that there is another way, more like
for x=1 to 9
myarray(x,1)=x
next x
thanks
Simon