Posted: 5th Sep 2011 5:32
just out of curiousity is there way to implement the main thread instead of having things run line to line from top to bottom of the agc file example



function init() or main()


endfunction


or something like that.
Posted: 6th Sep 2011 3:48
BASIC relies on a sequential script of instructions. The closest you will get to threading is a series of tight self-contained functions, such as:

do
ship()
enemies()
bullets()
gamelogic()
Sync()
loop

That said, it's not very close to threading at all, but at least you know where you are at every step