LoginLogin

Possible file corruption?

Root / Programming Questions / [.]

ahavasandwichCreated:
I can't get a project I was working on to run. It was working fine when I saved it yesterday, but now it keeps saying that there is a syntax error on a line that has a comment. I tried deleting the comment to see if that would solve it....that didn't work. Instead it said that there was a syntax error on the next line down. I kept repeating this process a couple more time to no avail. Ideas? :'(

Try the command clear?

Try the command clear?
Tried that, but no luck.

Copy your code (with that line left out) to another slot and re-save it?

Could you upload the project so I can look at it? There could be an error that you're missing, SB is really picky.

I fixed it using the idea that lohadl suggested (thank you!). Here's the program before I fixed it: 8ADXA3GJ. It kept saying that there was a syntax error on line 220. This is odd because there is only a comment on that line. If that line was deleted then the line below that one would have a syntax error code. I hope somebody can figure out how to prevent this from happening in the future. P.S. I am a messy coder with no formal training in this stuff (sorry).