Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Unexpected end of file" because of missing brackets
#1
I got the error "Unexpected end of file" and it took time to find out the stupid reason: I had forgotten to write the brackets in a sub call! That sub needs no parameters, so I naively hadn't written the bracktes in the call Smile

Well, maybe the message could be more explicit? It's not an important issue at all, just a suggestion. Anyway I won't forget the empty brackets again Smile

Code:
pressAnyKey()
Reply
#2
This is not the only issue with the error reporting, but Boriel plans to make better error reports later. I don't think, it has the highest priority yet.
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)