News:

*NEW* Current Version on STEAM16.793

Webchat:
Visit the chat



Bug?

Previous topic - Next topic

Armoured

When I compile the example named "SimpleDemo"


Quote
*** Configuration: WIN32 ***
precompiling:
GPC - GLBasic Precompiler V.2008.172 - 3D, NET
"SimpleDemo.gbas"(12) warning : probably unassigned variable : id$
"SimpleDemo.gbas"(18) warning : probably unassigned variable : name$
"SimpleDemo.gbas"(20) warning : probably unassigned variable : host$
Wordcount:117 commands

compiling:
C:\Users\Marco\AppData\Local\Temp\glbasic\gpc_temp0.cpp: In function `DGInt __GLBASIC__::Login(__GLBASIC__::DGStr, __GLBASIC__::DGStr)':
C:\Users\Marco\AppData\Local\Temp\glbasic\gpc_temp0.cpp:137: error: expected primary-expression before '}' token
C:\Users\Marco\AppData\Local\Temp\glbasic\gpc_temp0.cpp:137: error: expected `;' before '}' token
*** FATAL ERROR - Please post this output in the forum
_______________________________________
*** Finished ***
Elapsed: 7.5 sec. Time: 18:52
Build: 0 succeeded.
*** 1 FAILED ***



Is this a bug?

Kitty Hello

Line 119:
            IF a$=GLOBAL PLAYER_ID$ THEN GLOBAL PlayerID=b$
change to:
            IF a$=PLAYER_ID$ THEN PlayerID=b$

Armoured

Quote from: Gernot Frisch on 2008-Jun-23
Line 119:
            IF a$=GLOBAL PLAYER_ID$ THEN GLOBAL PlayerID=b$
change to:
            IF a$=PLAYER_ID$ THEN PlayerID=b$


Thanks!