[REBOL] Re: Nested blocks - retrieving and setting with variables
From: lmecir::mbox::vol::cz at: 28-Sep-2004 7:57
> Okay, that's very cool. However, how about:
>>>min(mtx[si][ti + 1] + 1, mtx[si + 1][ti] + 1, mtx[si][ti] + cost);
> Am I doomed to do something like:
>x: (first at pick matrix si ti + 1) + 1
>y: (first at pick matrix si + 1 ti) + 1
>z: matrix/:si/:ti + cost
>poke pick matrix si + 1 ti + 1 first minimum-of reduce [x y z]
> ? Or am I making life overly complicated for myself?
> Thanks again.
Carl Sassenrath has decided (at the Collaboration Conference), that we
will be able to use:
min min mtx/(si)/(ti + 1) + 1 mtx/(si + 1)/(ti) + 1 mtx/(si)/(ti) + cost
how would that work for you?