Nothing going on here, move along…

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.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Tag Cloud

%d bloggers like this: