Skip to main content
gamedev.net
🔒 Locked

Parse error

Started by caffeineaddict 0 replies 450+ views
Original Post
caffeineaddict
caffeineaddict
I get parse error at end of input all the time in my programs, and when i try to find the bad part of the code i never can and usually write a lot of code unnecesarrily and then dont know what to do, how can i find whats wrong easily?
DarkMage139
DarkMage139
If you''re talking about a syntax error, that shouldn''t be too hard. Just look through your source (somewhere near the reported error) for stuff that doesn''t seem right.

If it''s a logic error, look at the functions that could be tied with the error. You''ll spend AT LEAST half an hour if there''s a lot of unnecessary code.

Basically, just delete the unnecessary code, and comment as much as you can (without going crazy).

Good luck!

- DarkMage139
++++++++++++++++
"Shut up and give me the freakin code" -unknown
"Ask and you will be shot" -snes16bit
"Not again!" -SHilbert (upon being assimilated)
"Nazrix is cool." - Nazrix
"You've only seen the beginning" -The Dark Lord of RPGs
"I'm gonna go get high on Squaresoft games" - ILoveNataliePortman
DarkMage139

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.