@Gordon Oh my goodness thank you so much! It works like a charm :)
One question tho, what does "+" do before and after a variable? Since you wrote '+i+' and '+x+' when referencing to elements in the array segs[]. I've never seen that before in any language.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@Gordon Oh my goodness thank you so much! It works like a charm :)
One question tho, what does "+" do before and after a variable? Since you wrote '+i+' and '+x+' when referencing to elements in the array segs[]. I've never seen that before in any language.