Teratet, Add(MainForm,3000987,175,154) { Width=288 Height=368 Position=1 } Add(ArrayFilterRepeats,8161340,357,287) { link(onFilter,15143427:doAdd,[(411,293)(411,230)]) link(onEndFilter,4349255:doData,[]) link(Array,4812233:Array,[(363,220)(412,220)]) } Add(Button,10912839,301,287) { Left=145 Top=6 Width=120 Height=21 Caption="Удалить дубликаты" Point(doEnabled) link(onClick,8161340:doFilter,[]) } Add(StrList,15143427,434,224) { } Add(Button,4901219,238,154) { Left=5 Top=10 Width=45 Caption="Open" link(onClick,10853841:doEvent1,[]) } Add(MultiElement,4265245,315,161) { link(onEvent1,4812233:doAdd,[]) } BEGIN_SDK Add(EditMulti,5635602,21,21) { EventCount=2 WorkCount=1 Width=433 Height=249 link(doWork1,8214025:doEvent1,[]) } Add(For,1579991,77,56) { End=999 link(onEvent,15871376:doEvent1,[]) link(onStop,5635602:onEvent2,[(116,69)(116,34)]) } Add(Random,12136204,189,56) { Min=101 Max=255 link(onRandom,3446520:doRandom,[]) } Add(Random,3446520,238,56) { Min=11 Max=99 link(onRandom,8353443:doRandom,[]) } Add(Hub,8214025,42,21) { link(onEvent1,12136204:doRandomize,[(167,27)(167,69)]) link(onEvent2,1579991:doFor,[(67,34)(67,62)]) } Add(Random,8353443,287,56) { Min=30 Max=200 link(onRandom,13706233:doRandom,[]) } Add(Random,13706233,336,56) { Min=140 Max=250 link(onRandom,12585546:doRandom,[]) } Add(Random,12585546,385,56) { Min=15 Max=25 link(onRandom,1813522:doString,[(423,62)(423,102)(340,102)(340,132)]) } Add(FormatStr,1813522,350,126) { DataCount=5 Mask="%1;%2;%3;%4;%5" Point(FString) link(onFString,12474618:doWork2,[]) link(Str1,12136204:Random,[(356,118)(195,118)]) link(Str2,3446520:Random,[(363,112)(244,112)]) link(Str3,8353443:Random,[(370,106)(293,106)]) link(Str4,13706233:Random,[(377,96)(342,96)]) } Add(Hub,15871376,126,56) { link(onEvent1,12136204:doRandom,[]) link(onEvent2,11587854:doOperation,[(158,69)(158,188)]) } Add(Math,11587854,168,182) { OpType=8 Op2=10 ResultType=0 link(onResult,422695:doCase,[]) } Add(Case,422695,217,182) { Value=Integer(1) link(onNextCase,1146802:doCase,[]) link(onTrue,8095386:doValue,[(256,195)(256,174)]) } Add(Case,1146802,266,182) { Value=Integer(8) link(onTrue,6709798:doData,[(340,195)(340,216)]) } Add(Memory,8095386,350,168) { Default=String() Point(Data) link(Data,1813522:FString,[]) } Add(DoData,6709798,350,210) { link(onEventData,12474618:doWork3,[(435,216)]) link(Data,8095386:Value,[]) } Add(HubEx,12474618,431,126) { Angle=3 link(onEvent,5635602:onEvent1,[(435,27)]) } END_SDK Add(Hub,10853841,287,154) { link(onEvent1,4812233:doClear,[(369,160)(369,174)]) link(onEvent2,4265245:doWork1,[]) } Add(DoData,4349255,434,294) { link(onEventData,1213152:doEvent1,[]) link(Data,15143427:Text,[]) } Add(Hub,1213152,476,294) { link(onEvent1,4812233:doText,[(502,300)(502,281)(380,281)(380,188)]) link(onEvent2,15143427:doClear,[(510,307)(510,272)(422,272)(422,237)]) } Add(HilightMemo,4812233,392,161) { Left=5 Top=30 Width=260 Height=295 Font=[Courier New,8,0,0,1] HilightFont=[Courier New,8,0,0,1] }
|