help with case statement
                    Hi Folks,
I need some help with the case statement in spin. How can i make something like this work?
Thanks for your help!
Greeting Tectu
                            I need some help with the case statement in spin. How can i make something like this work?
    case i
      < 9:        debug.str(string(":    "))
      < 99:       debug.str(string(":   "))
      < 999:      debug.str(string(":  "))
      < 9999:     debug.str(string(": "))
Thanks for your help!
Greeting Tectu

                            
Comments
case i 0..9: debug.str(string(": ")) 10..99: debug.str(string(": ")) 100..999: debug.str(string(": ")) 1000..9999: debug.str(string(": "))