With the functions, make sure you are using an open/close set of parenthesis and are putting them after your DO-LOOP, after an END (so it doesn't "hit function mid-program").
DO
CallThisFunction()
SYNC
LOOP
END
FUNCTION CallThisFunction()
ENDFUNCTION
About the activating, try:
1. Go to "C:\Program Files\Dark Basic Software\Dark Basic Professional\Compiler"
2. Open "TGCVerifier.exe"
3. Press "Next", put your email in (Doesn't have to be the email you bought it with), then press next again.
4. Put in the CD, it will check that its a valid CD, then send you the activation code to the email address you entered.
5. Open DBP, and get to the activation screen (I think you just have to try to compile an EXE).
6. Put in the email you registered with, and the registration key you got in the email.
7. Test to make sure that dbpro is registered.
These steps are from
tgm4l on
this thread.
My green thumb grew the tree my Trojan War horse was crafted from. With roses in our pockets we rally round the tombstones. Ashes to ashes, we all fall down.