Larry Palmiter wrote:
>
> Hi Joel
>
> Good explanation. There is one more feature which can be handy. To directly
> convert an integer in the range 0 to 255 to a 1-byte binary, just put it in
> a block:
>
> >> to-binary [255]
> == #{FF}
> >> to-integer to-binary [255]
> == 255
>
Excellent! I hadn't thought of that trick (and probably wouldn't
ever have ;-)
-jn-
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.
- [REBOL] Poke and Pick and binary! alan parman
- [REBOL] Re: Poke and Pick and binary! - bug Anton
- [REBOL] Re: Poke and Pick and binary! - bug Joel Neely
- [REBOL] Re: Poke and Pick and binary! - bug Larry Palmiter
- Joel Neely
