Hi, There is this function in ValRail:
*copyTo<http://dist.codehaus.org/x10/xdoc/2.0.4/x10/lang/ValRail.html#copyTo%28src_off:x10.lang.Intdst_place:x10.lang.Placedst_finder:%28%29=> *(Int <http://dist.codehaus.org/x10/xdoc/2.0.4/x10/lang/Int.html> src_off, Place <http://dist.codehaus.org/x10/xdoc/2.0.4/x10/lang/Place.html> dst_place, x10.lang.Fun_0_0<Pair<http://dist.codehaus.org/x10/xdoc/2.0.4/x10/util/Pair.html> <Rail <http://dist.codehaus.org/x10/xdoc/2.0.4/x10/lang/Rail.html><T<http://dist.codehaus.org/x10/xdoc/2.0.4/x10/lang/ValRail.html> >,Int <http://dist.codehaus.org/x10/xdoc/2.0.4/x10/lang/Int.html>>> dst_finder, Int <http://dist.codehaus.org/x10/xdoc/2.0.4/x10/lang/Int.html> len) I'm not really sure what "x10.lang.Fun_0_0<Pair<http://dist.codehaus.org/x10/xdoc/2.0.4/x10/util/Pair.html> <Rail <http://dist.codehaus.org/x10/xdoc/2.0.4/x10/lang/Rail.html><T<http://dist.codehaus.org/x10/xdoc/2.0.4/x10/lang/ValRail.html> >,Int <http://dist.codehaus.org/x10/xdoc/2.0.4/x10/lang/Int.html>>> dst_finder" is indicating. It states that it is a dst_finder - a function returning a x10.util.Pair<http://dist.codehaus.org/x10/xdoc/2.0.4/x10/util/Pair.html>that consists of the reference to the destination Rail and the offset of the first element to copy to in the destination. What kind of variable am I supposed to pass into it? I am trying to copy a portion of a ValRail[Pair[]] from one place to another place. Such as, at place 0, I am copying elements 0 to 5 of the ValRail to a Rail[Pair[]] at place 1. Thanks, Han Dong h...@umbc.edu University of Maryland '10 ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users