For/Next Loops:
You might want to make objects 1-4 a size of 34, you could do:
scale object 1,34
scale object 2,34
scale object 3,34
scale object 4,34
or...
for o=1 to 4
scale object o,34
next o
Arrays:
Let's say you wanted 5 variables, and you wanted them to have random numbers, you could do -
var1=rnd(50)
var2=rnd(50)
var3=rnd(50)
var4=rnd(50)
var5=rnd(50)
or...
dim var(5)
var(1)=rnd(50)
var(2)=rnd(50)
var(3)=rnd(50)
var(4)=rnd(50)
var(5)=rnd(50)
Now, try this with the for/next loop:
dim var(5)
for v=1 to 5
var(v)=rnd(50)
next v
Both are very simple, and very usefull.