Including files
Blitz3D Forums/Blitz3D Beginners Area/Including files
| ||
How come when I try to do the: Include "test.bb", command it keeps on saying I need end-of-file and it switches over to the code I am trying to link? The spelling is all correct and the seperet code seems to work fine by itself. -Thanks |
| ||
You need to make sure you run the correct file... E.g. if your main program is main.bb and it includes test.bb, you need to run main.bb or you'll get an error (since test.bb doesn't have a program body ... or shouldn't have). |
| ||
You can also get a 'Missing end-of-file' error message (or something similar, I can't remember what the exact wording is) if your code is missing an 'EndIf'. You may get this error message for some other missing terminating commands too. |