3 task Startup(StartupObject s {initialstate}){
5 Test o = new Test() {A};
7 taskexit(s {!initialstate});
11 task ONE(optional Test o{A}){
16 task TWO(optional Test o{B}){
18 if(o.is()) taskexit(o {!B, C});
19 else taskexit(o {!B, D});
23 /*task THREE(Test o{B}){
28 task FOUR(optional Test o{C}){
35 task FIVE(optional Test o{D}){
41 task SIX(optional Test o{E}){
43 taskexit(o {!E, G, J});
47 task SEVEN(optional Test o{F}){
49 taskexit(o {!F, G, K});
53 task EIGHT(optional Test o{G}){
56 if(true) taskexit(o {!G, H});
57 else taskexit(o {!G, I});