Jump to content




Error: multiple points

pocket wireless help

4 replies to this topic

#1 kingquto111

  • New Members
  • 1 posts

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

#2 TheZen

  • Members
  • 65 posts
  • LocationHoquiam Wa

Posted 25 February 2017 - 02:28 AM

If you fix the link I could help..,

#3 Dog

  • Members
  • 1,179 posts
  • LocationEarth orbit

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)

#4 TheZen

  • Members
  • 65 posts
  • LocationHoquiam Wa

Posted 25 February 2017 - 02:47 AM

View PostDog, on 25 February 2017 - 02:37 AM, said:

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

#5 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

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.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users