718 posts
Location
Hawaii
Posted 03 June 2012 - 01:45 AM
I made a program, and when i run it, it just prints "multiple points". No line number or anything else.
I uploaded the code to pastebin and tried rebooting ComputerCraft.
http://pastebin.com/7TNwKKsaWhat does this error mean?
53 posts
Posted 03 June 2012 - 03:04 AM
In this segment of code, I've gotten that same error before:
table.insert(cube,#cube+1,xb+iii..","..yb-i..","..zb+ii)
I found out that you can't do any operations like addition and subtraction within string concatenations. So, the fixed code would be using parenthesis:
table.insert(cube,#cube+1,(xb+iii)..","..(yb-i)..","..(zb+ii))
Search your code for things like this.
718 posts
Location
Hawaii
Posted 03 June 2012 - 03:11 AM
In this segment of code, I've gotten that same error before:
table.insert(cube,#cube+1,xb+iii..","..yb-i..","..zb+ii)
I found out that you can't do any operations like addition and subtraction within string concatenations. So, the fixed code would be using parenthesis:
table.insert(cube,#cube+1,(xb+iii)..","..(yb-i)..","..(zb+ii))
Search your code for things like this.
I don't have table.insert, only:
PvP[#PvP+1] = string.sub(message, string.len("[MM] [" ..channel.."] [Bomb] *"), string.len(message))
EDIT:
that was my error, i did currentX+1 into PvP. Thanks!