Author Topic: Fatal Error  (Read 1815 times)

Offline Takeuchi

  • Mc. Print
  • *
  • Posts: 28
    • View Profile
Fatal Error
« 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

Offline D2O

  • Prof. Inline
  • *****
  • Posts: 1071
    • View Profile
    • http://www.deuteriumoxid.com
Re: Fatal Error
« Reply #1 on: 2010-Oct-17 »
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

Offline Takeuchi

  • Mc. Print
  • *
  • Posts: 28
    • View Profile
Re: Fatal Error
« Reply #2 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

Offline Ian Price

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 4159
  • On the shoulders of giants.
    • View Profile
    • My Apps
Re: Fatal Error
« Reply #3 on: 2010-Oct-17 »
Quote
DRAWSPRITE ,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.

Offline BumbleBee

  • Global Moderator
  • Prof. Inline
  • *******
  • Posts: 891
    • View Profile
Re: Fatal Error
« Reply #4 on: 2010-Oct-17 »
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