cb-hackers / cbEnchanted

A new runtime for CoolBasic
13 stars 3 forks source link

GetWord bugailee, kun erotinmerkkejä on useampia vierekkäin #64

Closed valscion closed 12 years ago

valscion commented 12 years ago
txt$ = "haa|ha|haa||he|||hee|."
For i=1 To CountWords(txt$, "|")
    Print GetWord(txt$, i, "|")
Next i

WaitKey

Tekee saman minkä tahansa erotinmerkin kanssa, tuo putkimerkki vaan on helpompi hahmottaa kuin välilyönti.