Variable – A label which stands for something else.
DIM goes before the variable e.g.
DIM WHICH Horse as interger
‘DIM’ starts the code
‘WHIC H Horse’ is the variable
‘as interger’ is the string
WHICH Horse = Int(Rnd) * 2
If two or more variables have the same string they can be put on the same DIM eg
DIM Last as interger, I as interger
Interger is an item, a string is a group of these items.