You're right. The following forms it:

( scratchpad ) 4 B{ 1 2 3 } <displaced-alien> describe
alien instance
"underlying" B{ 1 2 3 }
"expired"    f

( scratchpad ) 4 B{ 1 2 3 } <displaced-alien> 8 swap <displaced-alien> describe
alien instance
"underlying" f
"expired"    f

I'll push a fix shortly.

On Fri, Jul 4, 2008 at 10:28 PM, Joe Groff <[EMAIL PROTECTED]> wrote:
> If I do this:
>
> 4 B{ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 } <displaced-alien>
>
> I get a ( displaced-alien ) that points four bytes into that byte
> array, like you'd expect. But if I then do this:
>
> 8 swap <displaced-alien>
>
> I get ALIEN: 12 . It looks like <displaced-alien> assumes the
> underlying alien is absolute and only adds the offsets together,
> forgetting what byte-array it's relative to.
>
> -Joe
>
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to