Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Err: Unexpected end of file at (244, 2)
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#4
RE: Err: Unexpected end of file at (244, 2)

If you're not already using one, I highly recommend a proper editor for coding. It'll help you avoid issues like these. I'll suggest Notepad++, Atom or Visual Studio Code.

Then you can see your function like so:
Spoiler below!
[Image: qv0tBAR.png]

The fixed version looking like so (admittedly this particular case isn't an obvious find here):
Spoiler below!
[Image: kSw5Y2B.png]


I suggest you also format your code. Some prefer different styles, but it's a good habit to space things out because it makes it more readable and easier to debug.
See:

Spoiler below!
[Image: RPjmXkE.png]


(This post was last modified: 10-31-2018, 12:59 AM by Mudbill.)
10-31-2018, 12:58 AM
Find


Messages In This Thread
RE: Err: Unexpected end of file at (244, 2) - by Mudbill - 10-31-2018, 12:58 AM



Users browsing this thread: 1 Guest(s)