Ruby array index method SyntaxError in SketchUp

arr = [1, 2, 3]
p arr[0…]

#=> syntax error, unexpected ]

array index method seems not working in sketchup

p arr[0..2]

Thank you for replying, I guess it’s just caused by different ruby version

1 Like

Good to be at the cutting edge. but working with other applications then need to stay on the middle road…

I understand version 3 is 3 times faster?

1 Like