Add(MainForm,14203500,385,196) { Width=277 Height=155 Position=1 } Add(Button,12191682,385,280) { Left=40 Top=62 Width=60 Caption="##Clear" link(onClick,1067199:##clear,[(453,286)(453,258)]) } Add(Button,11271433,385,245) { Left=40 Top=37 Caption="start" link(onClick,1067199:##add,[]) } Add(Label,16525535,553,245) { Left=140 Top=52 link(Text,1067199:Position,[(559,233)(527,233)(527,289)(496,289)]) } Add(MultiElementEx,1067199,490,245) { Mode=1 link(onNext,16525535:doText,[]) } BEGIN_SDK Add(EditMultiEx,10091668,21,21) { WorkCount=#5:##add|7:##clear| EventCount=#6:onNext| VarCount=#8:Position| Width=251 Point(##add) Point(##clear) link(##add,889653:doStart,[(42,27)(42,104)]) link(Position,11235560:Position,[(27,175)(132,175)]) } Add(Thread,889653,63,98) { Delay=0 FastStop=0 Point(doStopFlag) link(onExec,6296337:doWork2,[]) } Add(If_else,16701900,175,98) { Op2=Integer(100) link(onTrue,6296337:doWork1,[(219,104)(219,87)(116,87)]) link(onFalse,10091668:onNext,[(239,111)(239,27)]) } Add(For,11235560,126,98) { End=100 link(onEvent,16701900:doCompare,[]) } Add(HubEx,6296337,112,98) { link(onEvent,11235560:doFor,[]) } END_SDK