$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-07-02 11:49:07
From: "Rene Rivera" <grafik666_at_[hidden]>
> The closest you can get to that is:
>
> $(l0) = $($(l).self.value[1]) ;
> ECHO $($(l0).self.value[1]) ;
>
> I think that will work. Maybe Dave has some better syntax up his sleeve
when
> it comes to class'es ;-)
We're stretching Jam's limits a bit here, but if you want to put a regular
list in the list class, I think you just need something which assigns
unique names in a namespace (e.g. the namespace of the outer list). Then
you stick the name of the inner list in the outer list. So, you'd have:
l = [ peek $(l) : [ $(l).at 0 ] ];
ECHO $(l) ;
-Dave