Add(MainForm,2953706,280,91) { Height=392 Position=1 link(onCreate,2132250:doFor,[]) } Add(MultiElementEx,4175527,420,105) { Mode=1 link(onTrue,8415986:doData,[]) } BEGIN_SDK Add(EditMultiEx,14389601,385,112) { WorkCount=#5:##add|8:##select|8:##delete| EventCount=#8:onEvent1|8:onRandom|6:onTrue| VarCount=#7:##count|12:##eventIndex| Width=293 Height=123 Point(##add) Point(##select) Point(##delete) Point(##count) Point(##eventIndex) link(##add,5077033:doEvent1,[]) link(##select,16033705:doStop,[(397,125)(397,132)]) } Add(Hub,5077033,406,112) { link(onEvent1,14389601:onEvent1,[]) link(onEvent2,16033705:doTimer,[]) } Add(Timer,16033705,441,119) { Interval=500 Enable=1 link(onTimer,6390641:doEvent1,[]) } Add(Random,8210701,525,119) { Max=10 link(onRandom,10213546:doCase,[]) } Add(Hub,6390641,490,119) { link(onEvent1,8210701:doRandomize,[(514,125)(514,132)]) link(onEvent2,8210701:doRandom,[(514,132)(514,125)]) } Add(Case,10213546,574,119) { Value=Integer(0) link(onNextCase,14389601:onRandom,[]) link(onTrue,14389601:onTrue,[]) } END_SDK Add(For,2132250,357,105) { End=10 link(onEvent,4175527:##add,[]) } Add(DoData,8415986,476,119) { link(onEventData,4175527:##delete,[(521,125)(521,161)(408,161)(408,125)]) link(Data,4175527:##eventIndex,[(482,107)(463,107)(463,149)(433,149)]) }