Mercurial > projects > ldc
view tango/example/cluster/task.d @ 143:336ec4f4bbb3 trunk
[svn r147] tango.io.Console is now working. True this time :) Yay!
author | lindquist |
---|---|
date | Fri, 25 Jan 2008 01:42:36 +0100 |
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)); }