Re: [X10-users] Array Problem

2010-06-24 Thread Igor Peshansky
Ralf Schelkle wrote on 06/24/2010 06:30:40 PM: > Hello x10 Team, > > I'm using x10 2.0.4 with the IDE Eclipse. > I'm realy confused why I get erros for following code: > > #1 public def func(){ > #2 shared var arr :Array[Double](101, 0..100); > #3 finish foreach ((i) in 0..100){ > #4

[X10-users] Array Problem

2010-06-24 Thread Ralf Schelkle
Hello x10 Team, I'm using x10 2.0.4 with the IDE Eclipse. I'm realy confused why I get erros for following code: #1 public def func(){ #2 shared var arr :Array[Double](101, 0..100); #3 finish foreach ((i) in 0..100){ #4 var x: Double = i * 2.0; #5 arr(i) =