I have a problem with winbatch. It does not appear not all numbers in a string can be converted correctly.
See the messages the following code produces. Can someone explain why the last number in each line is not being recognized as a number and a way around it in the immediate interim?
v=$"xxx,1,2
yyy,2,3
zzz,3,4$"
For i=1 to ItemCount(v,@LF)
e=ItemExtract(i,v,@LF)
a=Arrayize(e,`,`)
m=``
For j=0 to ArrInfo(a,1)-1
m:=j:` `:IsNumber(a[j]):@CR
Next j
Message(i,m)
Next i