[REBOL] Re: Poke and Pick and binary! - bug
From: joel:neely:fedex at: 3-May-2001 15:40
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-