Re: Re:

new topic     » goto parent     » topic index » view thread      » older message » newer message

> > Is there a core function to return a number from a sequence of atoms 
> > representing the ASCII codes of numbers?
> > 
> > eg.  need to get y = 205 number
> > 
> > sequence xx
> >   xx = {50,48,53}   -- 2,0,5 in ASCII

Remember also that

    xx = {50,48,53}

is equal to

    xx = "205"

> > 
> > atom y = ???????
> 
> y = xx[1] -- y now equals '50'
> y = xx[2] -- y now equals '48'
> y = xx[3] -- y now equals '53'

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu