Nothing going on here, move along…

Posts tagged ‘Randomize’

Variables and and strings

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

Int= Interger

Rnd= Randomize

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.

Tag Cloud