Subject: Assignment to multple variables with vector
From: Stavros Macrakis
Date: Mon, 4 Oct 2004 11:23:45 -0400
map("::", A_0, q)
On Mon, 04 Oct 2004 16:50:42 +0200, edA-qa mort-ora-y
<eda-qa@disemia.com> wrote:
> I have a vector:
> A_0 : [ x, y, z ] $
>
> And another vector:
> q : [ 1, 2, 3 ] $
>
> Using the above, is there an easy way to assign to each of x,y,z the
> values from q?
> Something like:
> A_0 ?: q $
> Results in:
> x : 1;
> y : 2;
> z : 3;
>
> What is the ?: operator?