Cobalt beat me to it.
@Fell, I always make it a rule to place data statements with labels at the end of main, before the first sub/function. I think that's a good programming practice. Nice to see that's already in the WIKI. Now I'm wondering if it was made that way by Rob to be QBasic compatible? I don't have access to my old computer with QB on it now, so I can't check. It seems if it was not to maintain compatibility, it might be a good idea to disallow non-label data placed after sub/functions, too.
@xra7en No worries, it happens to all of us from time to time... To many trees to see the forest.
Pete