Re: converting string in numbers



On 20 Ago, 21:59, Jan Wielemaker <j...@xxxxxxxxxxxxxxxxxxx> wrote:
On 2007-08-20, andrea <kerny...@xxxxxxxxx> wrote:

I'm stuck in a very stupid (I think) problem,
given a list of chars ['1','2'], how do I get the number 12??

There must be something that at least gives me the ordinal number of
the char '1', but I can't really find it...

See number_chars/2 in any ISO compliant Prolog system.

--- Jan

Ok thanks I solved :)

.