Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] to-binary/skip?

From: petr:krenzelok:trz:cz at: 26-Aug-2001 0:06

Hi, I am just struggling with following: how to convert string of hexadecimal values into binary? I mean: str: "FF00FF00" If I use to-binary, the function converts each char of string separately, while I would like to-binary to treat my string by 2 chars. Would it be usefull to have to-binary/skip refinement? Or is there any other easy way? The only one way which comes to my mind right now is - load rejoin ["#{" FFFF "}"] Thanks, -pekr-