Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Nested blocks - retrieving and setting with variables

From: chalz::earthlink::net at: 24-Sep-2004 3:45

> How about... > > poke pick matrix i + 1 j + 1 x
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. --Charles