Here's some interesting stuff in re your second question - not an answer,
but may give you some insight.
>> a: 16#{0123456789abcdef}
== #{0123456789ABCDEF}
>> type? a
== binary!
>> first a
== 1
>> second a
== 35
>> type? first a
== integer!
>> third a
== 69
>> ; note 35 = $23, $ meaning hexadecimal. Also 69 = $45.
Apparently pairs of char's in you definition of a were interpreted as
hexadecimal 2 digit numbers!
$ == hex is not REBOL usage.
Russell, [EMAIL PROTECTED]
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, October 23, 1999 5:47 AM
Subject: [REBOL] Newbie questions: blocks, lists & append hex
> Hi
> Two newbie questions:
>
> 1st) Which is the difference between a BLOCKs and LISTs ?
>
> 2nd) How can copy a hex string into another hex string USING APPEND?
> The following don't works:
>
> >> a: 16#{0123456789abcdef}
> == #{0123456789ABCDEF}
> >> b: 16#{}
> == #{}
> >> foreach char a [append b char]
> == #{3133353639313033313337313731323035323339}
>
> Thank you
>
>
> --
> Luis Marzulli
> e-mail: [EMAIL PROTECTED]
> Caracas, VENEZUELA
> ----------------------------------------------------------
> Earn money when you or your friends are on the Web
> click --> http://www.alladvantage.com/go.asp?refid=BXX890
>