Hi guys, I decided to re-write one of my games in AppGameKit (from DBPro) and I make use of a lot of booleans. When I tried to declare a boolean like this:
+ Code Snippeta as boolean
a = 1
rem A Wizard Did It!
do
Print(a)
Sync()
loop
It compiles but I get an error when I run the program, something like exe doesn't exist. If you then compile something that works ie hello world program, change the code to the code shown above, compile, run, it will run the hello world program. So basically compiles but no exe created or no compile error.
So is there a way to declare a boolean? My apologies if I have missed a very obvious answer.

Here is the DBPro equivalent:
+ Code Snippetsync on : sync rate 60
a as boolean
do
cls
print a
sync
loop