* system to start the computation up */
task Startup(StartupObject s {initialstate}) {
+ String a = new String("hello\n");
+ String b = new String("hello\n");
+ System.printString(a);
+ System.printString(b);
+ System.printInt(b.hashCode());
+ System.printString("\n");
+ System.printInt(a.hashCode());
+
for(int i=0;i<10;i++) {
Example e=new Example() {needoperation};
e.x=i;
}
taskexit(s {!initialstate}); /* Turns initial state flag off, so this task won't refire */
+
}
/* Fails for x=1 */