task Startup(StartupObject s {initialstate}) {
for(int i=0;i<10;i++) {
Example e=new Example() {needoperation};
- e.x=i+2;
+ e.x=i;
e.y=2;
e.operation=i%2;
}
taskexit(s {!initialstate}); /* Turns initial state flag off, so this task won't refire */
+
}
/* Fails for x=1 */