GLBasic forum

Main forum => Bug Reports => Topic started by: Takeuchi on 2010-Oct-17

Title: Fatal Error
Post by: Takeuchi on 2010-Oct-17
Leider kann ich hiermit absolut nichts anfangen, deshalb bitte ich um Hilfe.
Danke im vorraus (:

Quote*** Configuration: WIN32 ***
precompiling:
GPC - GLBasic Precompiler V.8.082 SN:f9fa988f - 2D, WIN32
Wordcount:13 commands
compiling:
C:\DOKUME~1\***********\LOKALE~1\Temp\glbasic\gpc_temp0.cpp: In function `int __GLBASIC__::__MainGameSub_()':
C:\DOKUME~1\***********\LOKALE~1\Temp\glbasic\gpc_temp0.cpp:123: error: expected primary-expression before ',' token
*** FATAL ERROR - Bitte die Compiler-Ausgabe ins Forum kopieren
Title: Re: Fatal Error
Post by: D2O on 2010-Oct-17
Poste mal den Code, sind ja "nur" 13 Wordcounts.
Title: Re: Fatal Error
Post by: Takeuchi on 2010-Oct-17
Code (glbasic) Select
SETCURRENTDIR ("Data")

/////////////////////Chiaragotchi/////////////////////



//Load Sprites//


LOADSPRITE "ei_ani_1" ,0
LOADSPRITE "ei_ani_2" ,1
LOADSPRITE "ei_ani_3" ,2
LOADSPRITE "ei_ani_4" ,3
LOADSPRITE "ei_ani_5" ,4
LOADSPRITE "ei_ani_6" ,5


//Main Process//


LOADBMP "start.bmp"
DRAWSPRITE ,0 ,54 ,144
SHOWSCREEN
MOUSEWAIT
END
Title: Re: Fatal Error
Post by: Ian Price on 2010-Oct-17
QuoteDRAWSPRITE ,0 ,54 ,144

Code (glbasic) Select
DRAWSPRITE 0,54,144

The "," before the 0,54,144 is bringing up the error. Maybe (not tested).
Title: Re: Fatal Error
Post by: BumbleBee on 2010-Oct-17
Das erste Komma  bei DRAWSPRITE muß weg.  :)

Uuups. Ian Price war schneller  =D

Cheers