Ok, so I've doubled checked each and every loop, function and if-statement to be sure and I think I didn't mess up with the bounds.
To be sure, these are allowed and will compile correctly, right? (using AppGameKit v1 Tier 1):
// Single line if statement without any termination
if (a = 1) then CallMe()
// Multiple condidtions without additional brackets
if (a = 1) and (b = 2) then DoThis()
if (a = 1) or (c = 3) then DoThat()
I wonder if consiquently using semicolons at the end of each appropriate line would help...
Quote: "comment out code until it compiles"
Ok, thanks for the advice, gonna take some time.
Oh man, sometimes I wish the reliability of the whole AppGameKit package would be anywhere near C-style languages - or maybe even like any other IDE out there...
Edit:
Ok, so I've commented everything out of my main.agc file ("/* */") and it essentially looks like this now without all the comments:
#include "test.agc"
do
TestFunc()
Sync()
loop
And the included file looks like this:
function TestFunc()
Print("Hello Function!")
endfunction
And it still won't work! So this leads me to the conclusion that something must be messed up with the project setup somehow. I didn't modify any files outside the IDE!