I have problems using multiple source files.
I?m using last version: 6.248
If i?ve got 2 files there?s no problem but when I try to add one more and compile this message appears:
*** Configuration: WIN32 ***
precompiling:
GPC - GLBasic Precompiler V.2009.113 - 3D, NET
"start_theme.gbas"(0) error : command not inside function or sub
"start_theme.gbas" is the third file added to the project.
The error arrow is pointing the second line of the file that (is a //comment!).
If I erase the comments the problems persist pointing now to code lines, giving the same error.
Any idea?
Did you mabe forget to close a function declaration in the other source file? Can we see some example code please?
Does sound like an ENDFUNCTION or similar is missing...
make sure you have a empty line on end off the sourcecode... its a bug, but i think gernot fix it... hmmm
Mhh Schranz0r you are right.
Solved it adding a new blank line at the end of the third source file.
The bug, so is still unfixed.
it's fixed in V7, but it's not out, yet. I'm waiting for my Apple enrollment ID, yet. Apart from that I fix a few tiny bugs every now and then. It's going to be a rock-solid release this time. (At least supposed to be).
Sounds like iPhone development is nearly finished, then!