view tango/example/cluster/task.d @ 235:c603041da866 trunk

[svn r251] fixed arguments checking in runtest script
author ChristianK
date Sun, 08 Jun 2008 12:06:22 +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));
}