Quantcast
Channel: Answers by "Graham-Dunnett"
Viewing all articles
Browse latest Browse all 959

Answer by Graham Dunnett

$
0
0
So, please bear in mind, that the compiler will also tell you the exact line number where it encountered the error. If you need help from the community, giving them that number makes it far easier to help you. In your case, I imagine the number is one, and you simply need to delete the semi-colon at the end of line 1. In JS a semicolon is used to separate statements. `#pragma` is not technically a statement, so does not need a semi-colon after it. Also, you appear to have duplicated opening braces at lines 9/10 and again at 14/15. Finally, you may care to check that `Bullet` has a value before you use it at line 27.

Viewing all articles
Browse latest Browse all 959

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>