I m a beginner to write X10 program and I have a question about place and async.
I want an activity to do some calculation at other place, and then return the result back to the main fuction. But I cannot write the code successfully and I have read the userguide. Could u please give me an example? Here is my code pieces: var t0 : Int = 0; val val_here = here; finish{ at(here.next()) async { val t1 : Int = 555; at (val_here) { t0 = t1; } } } Console.OUT.println("t0: "+t0); if I don't use async at other place, this code is ok. Please add some simple samples in your x10 package. -- Amanlynn -- Amanlynn ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users