Pete
for single character it may be faster to do Asc(n$)-48 rather than using Val
also, if you use Val in conjunction with Mid$ to get the value of a character then you can forgo the Mid$ function and use Asc(n$, index)-48
for single character it may be faster to do Asc(n$)-48 rather than using Val
also, if you use Val in conjunction with Mid$ to get the value of a character then you can forgo the Mid$ function and use Asc(n$, index)-48