Ok, I got somewhere with this bug, I added a new source file to my project that was just some made up code:
`Title: Yes
`blah
Function No(It As Integer)
EndFunction
The compile info was:
Error at line 392:
`Set textures
PARSER ERROR
------------
Could not determine parameter type of '`itle' at line 392.
PROGRAM TRACE
-------------
`itle: Yes
:`lah
Function No(It As Integer)
EndFunction
ERROR TRACE
-----------
Failed to 'DoExpression::DoValue'
Failed to 'DoExpressionList::DoExpression'
Failed to 'DoExpressionList::DoExpressionListString'
Failed to 'DoUserFunction::Do ExpressionList'
Failed to 'DoPreScanBlock::DoStatement(TokenID)'
Failed to 'DoPreScanBlock(0)'
Failed to 'MakeStatements'
Failed to Parse Program (MakeDBM->MakeProgram)'
I changed my new source to:
rem Title Yes
`blah
Function No(It As Integer)
EndFunction
Error message was:
Error at line 398:
Set Object Texture 100, 2, 1
PARSER ERROR
------------
Could not understand command at line 398.
PROGRAM TRACE
-------------
EndFunctionrem Title Yes
:`lah
Function No(It As Integer)
ERROR TRACE
-----------
Failed to 'DoUserFunction::DoBlock'
Failed to 'DoStatement(TokenID)'
Failed to 'DoBlock(0)'
Failed to 'MakeStatements'
Failed to Parse Program (MakeDBM->MakeProgram)'
This message turned out to be a bit more useful, the previous source file's last 2 lines were:
Set Object Texture 100, 2, 1
EndFunction
That's also the very, very, last line on the source file so obviously it's merging the 2 together without adding a new line in between. The simple solution on my half means all I have to do is leave an empty line on the bottom of each source file and it will run. I tested this by adding an Enter after the "EndFunction" and it ran fine. Removed the enter, same error.
Problem found. Now it's your turn to fix it.
I don't see the need to send you a source file now but if you'd still like it, I'd be more then happy to send it.
Edit: Oh yes, and just reminding you, it still only errors when I try to compile from the new source I added. Any other source at all and it runs fine.
"Computers are useless they can only give you answers."