Labels that are numbers must be followed by colons

edited July 2012
The following runs fine as a VB Expression:

1 + 1

But, when the following is run as a VB Statement...

1 + 1
2 + 2

...the following error is issued:

Labels that are numbers must be followed by colons.

How can the second set of statements be executed without error?

Comments

Sign In or Register to comment.