Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Syntax error difficulty.

Author
Message
btharding
9
Years of Service
User Offline
Joined: 17th Aug 2014
Location:
Posted: 29th Jun 2015 18:49
Hey
I am reasonably new to Darkbasic Pro and I have decided to try and make a pong game!

I have written all the code and it says that there is a syntax error but I can't figure it out.
Here is the code.



Any help would be appreciated, cheers.

If women ran the world we wouldn't have wars, just intense negotiations every 28 days.

Robin Williams
revenant chaos
Valued Member
17
Years of Service
User Offline
Joined: 21st Mar 2007
Location: Robbinsdale, MN
Posted: 30th Jun 2015 04:51
Endfunction is misspelled twice: one at the end of DrawBallAndPaddles() and the other at the end of EndOfGame().




btharding
9
Years of Service
User Offline
Joined: 17th Aug 2014
Location:
Posted: 1st Jul 2015 18:48
Thanks
But now I have another problem, the ball doesn't move along the X-axis
How do I fix it. Thanks!


If women ran the world we wouldn't have wars, just intense negotiations every 28 days.

Robin Williams

Login to post a reply

Server time is: 2024-04-19 13:39:51
Your offset time is: 2024-04-19 13:39:51