Is there a way to make a variable global such that it is available on all
places? I want to avoid declaring it on one place and fetching it at other
places using a future.
Also, I get a classCastException at the foll.statement:
finish ateach(val p(t):Point(1) in Dist.makeUnique(Place.places))
{
var tmp:Array[int](1) = (future
(Place.place(0))aim_ATF_dim).force();
Console.OUT.println(tmp(0)); // -----> gives a
classCastException
Any ideas?
Thanks,
Kshitij
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
X10-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/x10-users