Sequence-to-number question

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

Dear Euphorians,

I was wondering if anyone would be able to give me
a hand with this -- I've been working on a program
lately that takes strings of values from a file and
reads them into seperate sequences. (part of a larger
project) I've hit a stumbling block, however, when I
want to use these broken-up sequence parts as normal
numbers. (i.e. atoms/integers, depending) Here's an
example:

 * I have a sequence that looks something like this:
   {{48,49},{48,50},{48,51},...}

   I'd like to be able to use each of these sets of numbers
   as a hex value (i.e. {48,49} = #01) so that I can do
   math with them as necessary, so that in the end, it looks
   more like this:

   {{#01},{#02},{#03},...}

If anyone can offer help here, it would be much appreciated.
Thanks again,


Chris Cox
cox.family at sk.sympatico.ca

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

Search



Quick Links

User menu

Not signed in.

Misc Menu