[code:1]Add(MainForm,6363536,14,42)
{
Left=20
Top=105
Width=203
Font=[MS Sans Serif,8,0,0,1]
Caption="RecursiveSort"
Point(onDblClick)
link(onCreate,4114911:doEvent1,[])
link(onDblClick,4114911:doEvent2,[])
}
Add(Hub,4114911,63,77)
{
InCount=2
OutCount=5
link(onEvent1,4995746:doClear,[(201,83)(201,104)])
link(onEvent2,13181770:doRandomize,[(154,90)(154,104)])
link(onEvent3,8364578:doFor,[])
link(onEvent4,4995746:doSave,[(104,104)(104,132)])
}
Add(For,8364578,112,91)
{
End=500
IncludeEnd=1
link(onEvent,13181770:doRandom,[])
link(End,4112218:Text,[])
}
Add(ListBox,4995746,210,91)
{
Left=20
Top=40
Width=150
Height=215
Font=[MS Sans Serif,8,0,0,1]
FileName="Array.txt"
}
Add(Random,13181770,161,91)
{
Min=-10000
Max=10000
link(onRandom,4995746:doAdd,[])
}
Add(InfoTip,5732519,56,21)
{
Info='Прием стартового массива'
Font=[MS Sans Serif,8,0,0,1]
Width=211
Height=130
}
Add(Edit,4112218,119,42)
{
Left=20
Top=10
Width=55
Height=25
Font=[MS Sans Serif,8,0,0,1]
Text="1000"
DataType=1
}
Add(MultiElementEx,11297932,427,175)
{
Mode=1
link(Back,2252825:doWork1,[(470,181)(470,158)(270,158)])
}
BEGIN_SDK
Pos(0,0)
Add(EditMultiEx,16571958,3,3)
{
WorkCount='##add','##select','##delete'
EventCount='Back'
VarCount='##count'
Width=488
Height=318
link(##add,6418672:doValue,[(3,20)])
}
Add(GetDataEx,7504539,168,56)
{
link(Data,12928125:Array,[])
}
Add(HubEx,16644291,343,182)
{
link(onEvent,2678914:doWork1,[])
}
Add(Hub,1910364,77,126)
{
OutCount=3
link(onEvent1,8086485:doCompare,[(117,132)(117,83)])
link(onEvent2,6292315:doCompare,[])
link(onEvent3,2466564:doEnum,[(117,146)(117,195)])
}
Add(GetDataEx,16712297,70,196)
{
link(Data,6885029:Item,[(83,184)(34,184)])
}
Add(ArrayEnum,6885029,28,119)
{
link(onItem,15736121:doSwitch,[(69,125)(69,237)])
link(onEndEnum,1910364:doEvent1,[])
link(Array,10524593:Var2,[])
}
Add(RealArray,4382818,217,14)
{
RealArray=[]
}
Add(IndexToChanel,3944494,266,77)
{
Point(Index)
link(onEvent1,10225787:doNext,[])
link(onEvent2,656228:doNext,[])
link(Index,16043922:Value,[])
}
Add(RealArray,12928125,175,14)
{
RealArray=[]
}
Add(ChanelToIndex,2678914,357,189)
{
Point(Data)
link(onIndex,16043922:doValue,[(439,195)(439,54)(258,54)(258,20)])
}
Add(If_else,6653222,441,231)
{
Type=4
link(onFalse,16644291:doWork1,[(481,244)(481,183)(347,183)])
link(Op1,2390375:Var3,[(447,223)(434,223)(434,268)])
}
Add(DoData,9035620,175,77)
{
link(onEventData,7028405:doWork1,[(214,83)])
link(Data,7504539:Var2,[])
}
Add(Switch,15736121,77,231)
{
Point(onOn)
Point(onOff)
Point(DataOn)
Point(DataOff)
link(onOn,8489478:doAdd,[(248,244)(248,216)])
link(onOff,978038:doAdd,[])
link(DataOn,16712297:Var2,[])
link(DataOff,16712297:Var3,[(90,205)])
}
Add(ArrayEnum,2466564,161,189)
{
link(onItem,14968761:doEvent1,[])
link(Array,9196323:Var2,[])
}
Add(GetDataEx,10524593,21,56)
{
link(Data,6418672:Value,[])
}
Add(ArrayRW,8489478,266,196)
{
link(onRead,2678914:doWork2,[])
link(Array,12200569:Var3,[(272,125)])
link(Index,656228:Count,[(279,177)(321,177)])
}
Add(ArrayRW,978038,392,231)
{
link(onRead,6653222:doCompare,[])
link(Array,7504539:Var3,[(398,65)])
link(Index,10225787:Count,[])
}
Add(GetDataEx,12200569,210,116)
{
link(Data,4382818:Array,[])
}
Add(DoData,1033972,308,189)
{
link(onEventData,16644291:doWork2,[])
}
Add(Counter,656228,315,84)
{
Max=2000000000
}
Add(Counter,10225787,399,77)
{
Max=2000000000
}
Add(ArrayRW,16132226,252,280)
{
Point(Count)
link(Array,9196323:Var3,[(258,177)])
link(Index,2466564:Index,[(265,268)(174,268)])
link(Value,2390375:Var1,[(272,268)])
}
Add(Hub,14968761,203,189)
{
OutCount=5
link(onEvent1,1033972:doData,[])
link(onEvent2,8489478:doRead,[])
link(onEvent3,978038:doRead,[(253,209)(253,237)])
link(onEvent4,3944494:doEvent,[(243,216)(243,83)])
link(onEvent5,16132226:doWrite,[(243,223)(243,293)])
}
Add(GetDataEx,9196323,154,168)
{
link(Data,10524593:Var3,[(167,65)])
}
Add(GetDataEx,2390375,350,259)
{
link(Data,2678914:Data,[])
}
Add(Memory,16043922,266,14)
{
}
Add(If_else,6292315,126,133)
{
Type=2
Op2=Integer(1)
link(onTrue,9378557:doData,[])
link(Op1,4382818:Count,[(132,117)(230,117)])
}
Add(If_else,8086485,126,77)
{
Type=2
Op2=Integer(1)
link(onTrue,9035620:doData,[])
link(Op1,12928125:Count,[(132,56)(188,56)])
}
Add(Memory,6418672,28,14)
{
link(onData,6885029:doEnum,[(68,20)(68,57)(18,57)(18,125)])
}
Add(DoData,9378557,175,133)
{
link(onEventData,7028405:doWork2,[])
link(Data,12200569:Var1,[(181,125)])
}
Add(HubEx,7028405,210,126)
{
link(onEvent,16571958:Back,[(491,139)])
}
END_SDK
Add(Hub,3293646,175,210)
{
link(onEvent1,3722041:doData,[(215,216)(215,181)])
link(onEvent2,4476606:doProcessMessages,[])
}
Add(Hub,8954268,280,175)
{
link(onEvent1,11297932:##add,[])
link(onEvent2,1818104:doOperation,[])
}
Add(DoData,3722041,224,175)
{
link(onEventData,2252825:doWork2,[])
link(Data,4995746:Array,[])
}
Add(HubEx,2252825,266,168)
{
link(onEvent,8954268:doEvent1,[])
}
Add(Math,1818104,329,182)
{
OpType=1
Op2=1
ResultType=0
link(onResult,8751037:doEvent1,[])
link(Op1,11297932:##count,[(335,172)(368,172)(368,224)(433,224)])
}
Add(Hub,8751037,378,182)
{
link(onEvent1,11297932:##select,[])
link(onEvent2,11297932:##delete,[])
}
Add(Application,4476606,224,217)
{
}
Add(Button,16138926,28,203)
{
Left=110
Top=10
Width=60
Height=25
Font=[MS Sans Serif,8,0,0,1]
Caption="Sorting"
link(onClick,14389929:doSwitch,[])
}
Add(Repeat,8556665,126,210)
{
Check=1
link(onRepeat,3293646:doEvent1,[])
}
Add(Switch,14389929,77,203)
{
DataOn=String(Stop)
DataOff=String(Sorting)
Point(onOn)
Point(onOff)
link(onSwitch,16138926:doCaption,[(119,209)(119,193)(18,193)(18,209)])
link(onOn,8556665:doRepeat,[])
link(onOff,8556665:doStop,[])
}[/code:1]
Ответов: 9906
Рейтинг: 351
|
|||
карма: 9 |
|