This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
ComputerCraftFan11's profile picture

[Error] multiple points [SOLVED]

Started by ComputerCraftFan11, 02 June 2012 - 11:45 PM
ComputerCraftFan11 #1
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/7TNwKKsa

What does this error mean?
EatenAlive3 #2
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.
ComputerCraftFan11 #3
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!