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 valid values
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 toolb...@kestner.de wrote:
Hello,
I am using:
put baseConvert(number,32,10) into tResult
QW I get an error
--
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: need some help