generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Error help

Previous Thread :: Next Thread 
optigreen is not online. optigreen
Joined: 20 Apr 2010
Total Posts: 417
31 Jan 2013 08:10 AM
I have been having trouble with an error report: 'eof' expected near 'else'

If anyone has advice I will gladly accept it.


~Optigreen
Report Abuse
MeBilly8440 is not online. MeBilly8440
Joined: 27 Jul 2009
Total Posts: 2783
31 Jan 2013 08:12 AM
Means you have too many or two little ends (I forget which one). Remember, you still need an end if you use "if blah then else" (so it would be "if blah then else end")

Wiki Profile: http://wiki.roblox.com/index.php/User:Nelson
Report Abuse
optigreen is not online. optigreen
Joined: 20 Apr 2010
Total Posts: 417
31 Jan 2013 08:15 AM
Thank you! I was thinking about that. I didn't think it worked because I got another error report after I fixed it but that was on line 120.

I would of pasted the code but it was way to long.

Thank you so much.


~Optigreen
Report Abuse
Luckymaxer is not online. Luckymaxer
Joined: 01 Aug 2014
Total Posts: 2880
31 Jan 2013 08:35 AM
Do you tab your scripts? If not, I'd suggest you do because it makes it easy to spot errors such as missing or too many ends.
Report Abuse
optigreen is not online. optigreen
Joined: 20 Apr 2010
Total Posts: 417
29 Mar 2013 01:03 PM
Ok thanks... I have a lot of code in one script most of the time. Sometimes 3000 lines.
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
29 Mar 2013 01:22 PM
"Ok thanks... I have a lot of code in one script most of the time. Sometimes 3000 lines"

"3000 lines"

..not usual for a scripting language like Lua. Especially when you're programming in RBX.Lua
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image