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

Error: multiple points

Started by kingquto111, 24 February 2017 - 07:12 PM
kingquto111 #1
Posted 24 February 2017 - 08:12 PM
I know I should do something by adding " or ' but I don't know where to add them
script is http://pastebin.com/Bd25SdKT
KidBrine #2
Posted 25 February 2017 - 02:28 AM
If you fix the link I could help..,
Dog #3
Posted 25 February 2017 - 02:37 AM
I believe multiple points means you have a number value that has more than one decimal place. You'll need to encapsulate the value in quotes and treat it as a string, not a number (or eliminate the extra decimal places)
KidBrine #4
Posted 25 February 2017 - 02:47 AM
I believe multiple points means you have a number value that has more than one decimal place. You'll need to encapsulate the value in quotes and treat it as a string, not a number (or eliminate the extra decimal places)

I think so too but we can't actually tell em what they did wrong without acess to the code if there are any typos i didn't see it's because of my neww keyboard
Bomb Bloke #5
Posted 28 February 2017 - 08:49 AM
Often this crops up when attempting to concatenate numbers.

4 .. "hello"  --> Valid.
(4).."hello"  --> Valid.
4.."hello"    --> Lua will assume the dots are part of the number, get confused, and throw a "multiple points" error.