Jump to content




I'm having trouble spotting a syntax error

lua

  • You cannot reply to this topic
1 reply to this topic

#1 AstronautG117

  • New Members
  • 7 posts

Posted 21 December 2012 - 03:04 PM

Hey guys. I'm getting the error

bios:338: [string "elevatorHost"]:69: syntax error

I looked at line 69 and could not for the life of me find out what was wrong.

Here's the code:

Spoiler

And line 69:

for i = 1, #clientInfo do

Any input?

#2 ChunLing

  • Members
  • 2,027 posts

Posted 21 December 2012 - 04:57 PM

Your function getNewFloor() doesn't appear to close properly, I think that you're missing an end after the second parallel.waitForAny() (to close the if then else structure). Odd that you should get the error you're getting, though.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users