AW: need some help with baseConvert()

2014-10-24 Thread Tiemo Hollmann TB
Thank you Björnke for your helpful answer Tiemo > -Ursprüngliche Nachricht- > Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag > von Björnke von Gierke > Gesendet: Freitag, 24. Oktober 2014 11:46 > An: How to use LiveCode > Betreff: Re: n

Re: need some help with baseConvert()

2014-10-24 Thread Björnke von Gierke
LC is using base32Hex. That means valid chars are 0-9 and A-V. See also Wikipedia: http://en.wikipedia.org/wiki/Base32#base32hex On 24 Oct 2014, at 10:20, Tiemo Hollmann TB wrote: > Hello, > > I am using: > > put baseConvert(number,32,10) into tResult > > "QW" I get an error -- Use an a

need some help with baseConvert()

2014-10-24 Thread Tiemo Hollmann TB
Hello, I am using: put baseConvert(number,32,10) into tResult where "number" can be numeric or alpha input by the user. When "number" is "AB" the result is 331, ok. But when "number" is e.g. "QW" I get an error "baseConvert can't convert this number" I would like to check the user input for val