Re: Re:
- Posted by "C. K. Lester" <cklester at yahoo.com> Jul 25, 2003
- 2065 views
> > > 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 oops. just realized what you wanted. heh. <cough> the function is value(). look it up in the manual. -- convert a sequence to a number object junk sequence x atom y x = {50,48,53} junk = value(x) y = junk[2]