Mercurial > projects > ldc
view tango/example/cluster/task.d @ 348:3c5e19bfcbf2 trunk
[svn r369] Fix nested classes when nestedVar is not generated.
author | ChristianK |
---|---|
date | Sun, 13 Jul 2008 21:16:40 +0200 |
parents | 1700239cab2e |
children |
line wrap: on
line source
/******************************************************************************* Illustrates usage of cluster tasks *******************************************************************************/ import Add, tango.io.Stdout, tango.net.cluster.tina.ClusterTask; void main (char[][] args) { scope add = new NetCall!(add); Stdout.formatln ("cluster expression of 3.0 + 4.0 = {}", add(3, 4)); }