Hi crum Welcome to the Comunity...
About your program don't care I did the same when I bought GLbasic but I continue poor, I don't win the Lottey

About your code the error it's like says Erico you forget put the Endif, my counsil it's aleways read what says the compiler, the bottom part of your screen, I never read when I start to do code and it's a great error, you will learn a lot spend a bit of time reading what happends in your code...
Ah don't believe what's says erico about a good boy... he's a "cabroncete" JAJAJ

Regards, and any question here you can find very very clever people and perfect answers.
Willkomen
