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?
[Error] multiple points [SOLVED]
Started by ComputerCraftFan11, Jun 03 2012 12:45 AM
2 replies to this topic
#1
Posted 03 June 2012 - 12:45 AM
#2
Posted 03 June 2012 - 02: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.
#3
Posted 03 June 2012 - 02:11 AM
EatenAlive3, on 03 June 2012 - 02:04 AM, said:
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!
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











