Fatal Error

Previous topic - Next topic

Takeuchi

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

D2O

Poste mal den Code, sind ja "nur" 13 Wordcounts.
I7 2600K; 8 GB RAM ; Win10 Pro x64 | NVidia GTX 750 TI 2048MB ; Realtec OnBoard Sound;
Lenovo ThinkPad T400: XP Pro
GLB Premium-immer Aktuell

Takeuchi

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

Ian Price

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).
I came. I saw. I played.

BumbleBee

Das erste Komma  bei DRAWSPRITE muß weg.  :)

Uuups. Ian Price war schneller  =D

Cheers
The day will come...

CPU Intel(R) Core(TM) i5-3570k, 3.4GHz, AMD Radeon 7800 , 8 GB RAM, Windows 10 Home 64Bit