Results 1 to 2 of 2

Thread: Wanted : functions to convert hex & bin strings tp numbers.

  1. #1

    Thread Starter
    Lively Member Kersey's Avatar
    Join Date
    Jun 1999
    Location
    The Netherlands
    Posts
    101
    Hello World,

    although to subject is reasonably clear ( I hope ? )
    some in depth problem info :

    i want to convert strings to numbers :
    the strings have the following specs:
    hexstring holds chars 0 to F .
    example : "F4" or "A73BC7823F1256E1" (maybe even longer)
    bin string holds chars 0 and 1.
    example : "0100010011110010101010010101010100010101010" maxleght currently 80 chars.

    I want to AND or OR or XOR etc two hexstrings or two binstrings.

    solutions might be :
    - be converting to long and do the operation
    - do the operation at the strings it self

    Anyone around made something like this already (if possible documented)
    and willing to share this with the rest of the VB-world ?

    Greetinx,

    D


  2. #2
    Fanatic Member
    Join Date
    Mar 2000
    Location
    That posh bit of England known as Buckinghamshire
    Posts
    658
    Check out Stevie-O's function in this thread.

    Number Converter
    Iain, thats with an i by the way!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width