ok.
i'm back to convert my libs with v8.006 beta...

I think that i found "the bug"in glbasic that is going me crazy for a few days ...
is related to folding and unfolding functions....
try this...
FUNCTION test:
ENDFUNCTION
GLOBAL t = 1
now "close" the function and (f5) compile... all is ok ...
now try this... (add some comments)
FUNCTION test:
// some innocent comment here.
ENDFUNCTION
now "close" the function and try to compile (f5)
and... tada!!!!
_______________________________________
*** Configuration: WIN32 ***
precompiling:
GPC - GLBasic Precompiler V.6.972 SN:ac0044df - 3D, NET
Wordcount:0 commands
compiling:
C:\Users\Gianluca\AppData\Local\Temp\glbasic\gpc_temp0.cpp: In function `DGInt __GLBASIC__::test()':
C:\Users\Gianluca\AppData\Local\Temp\glbasic\gpc_temp0.cpp:74: error: a function-definition is not allowed here before '{' token
C:\Users\Gianluca\AppData\Local\Temp\glbasic\gpc_temp0.cpp:81: error: a function-definition is not allowed here before '{' token
C:\Users\Gianluca\AppData\Local\Temp\glbasic\gpc_temp0.cpp: At global scope:
C:\Users\Gianluca\AppData\Local\Temp\glbasic\gpc_temp0.cpp:94: error: expected `}' at end of input
*** FATAL ERROR - Please post this output in the forum
_______________________________________
*** Finished ***
Elapsed: 1.1 sec. Time: 00:56
Build: 0 succeeded.

it seems that if you add some comments inside a function then "close" the function and compile the compiler don't like it!!!
... :'(
and... when will be possible to compile for iphone with the extended type (functions inside a type) ?
thanks...
Gianluca. (ps: sorry for the bad translation!!!)
CIAO!