HI All
I have added a new AGC file to my project and created a new function in that file. WHen I call the function in the main loop in Main.AGC I now get the following error:
"Could not understand command at line 143"
I have other functions in other AGC files that work fine? If I move this function into any of these files I get the same error. If I move it to Main.AGC it compiles?
The ErrorReport.TXT file in the media folder contains the following:
PARSER ERROR
------------
Could not understand command at line 143.
PROGRAM TRACE
-------------
CSGame_Update()
EndCase
EndSelect
Sync()
l
ERROR TRACE
-----------
Failed to 'pJumpBlockA->DoBlock'
Failed to 'DoStatement(TokenID)'
Failed to 'pLoopBlock->DoBlock()'
Failed to 'DoStatement(TokenID)'
Failed to 'DoBlock(0)'
Failed to 'MakeStatements'
Failed to Parse Program (MakeDBM->MakeProgram)'
Is this something I am doing wrong?? Or a compiler issue?
Thanks