Add(MainForm,2565746,413,175)
{
Width=625
Height=710
Color=-16777215
Caption="Перевертыши"
Position=1
}
Add(PaintBox,3865073,679,329)
{
Left=10
Top=10
Width=600
Height=600
Color=-16777215
Cursor=2
Point(MouseX)
Point(MouseY)
Point(onMouseDown)
Point(onMouseMove)
link(onMouseDown,15575012:doWork1,[(723,342)])
link(onMouseMove,3007892:doWork1,[(781,349)])
}
Add(MultiElement,1696789,595,433)
{
link(onEvent1,3865073:doRefresh,[(657,439)(657,335)])
link(Data1,14554093:Var2,[])
link(Data2,11058741:Var2,[(608,403)(685,403)])
link(Data3,11980970:Var3,[(615,292)])
}
BEGIN_SDK
Add(EditMulti,2936430,14,21)
{
EventCount=1
WorkCount=1
DataCount=3
Width=881
Height=406
VOffset=100
HOffset=200
link(doWork1,16164817:doFor,[])
}
Add(MatrixRW,8423561,214,121)
{
link(onRead,15188099:doValue,[])
link(Matrix,2936430:Data1,[])
link(X,12223891:Var2,[])
link(Y,12968182:Var2,[])
}
Add(For,16164817,64,121)
{
link(onEvent,13885777:doFor,[])
link(onStop,8333575:doClear,[(109,134)(109,197)])
link(End,695662:Var2,[])
}
Add(For,13885777,141,121)
{
link(onEvent,8423561:doRead,[])
link(End,695662:Var3,[(154,103)])
}
Add(GlobalVar,854521,71,65)
{
Name="Max"
}
Add(Img_Text,6913255,741,331)
{
X=10
Y=10
Font=[Times New Roman,36,1,16777215,204]
Point(X)
Point(Y)
Point(doFont)
link(onDraw,2936430:onEvent1,[(834,337)(834,127)])
link(Bitmap,2936430:Data2,[(747,57)(227,57)])
link(Text,121481:Var3,[(754,262)])
link(X,8459393:Part1,[])
link(Y,8459393:Part2,[])
}
Add(StrList,6607401,636,156)
{
Strings=#5:25,15|6:290,15|6:540,15|6:25,275|7:290,275|7:540,275|6:25,535|7:290,535|7:540,535|0:|
Point(onGetString)
Point(doGetString)
link(onGetString,6959566:doWork2,[])
}
Add(MultiStrPart,8459393,755,163)
{
Char=","
link(onSplit,6913255:doDraw,[(800,169)(800,227)(729,227)(729,337)])
}
Add(Math,8333575,367,184)
{
Op2=1
Default=-1
Point(doClear)
link(onResult,4442027:doEvent,[])
link(Op1,8333575:Result,[(373,166)(357,166)(357,228)(373,228)])
}
Add(Memory,15188099,272,121)
{
link(onData,15772378:doEvent1,[])
}
Add(StrList,14146251,636,212)
{
Strings=#5:25,15|6:185,15|6:360,15|6:540,15|6:25,190|7:185,190|7:360,190|7:540,190|6:25,360|7:185,360|7:360,360|7:540,360|6:25,540|7:185,540|7:360,540|7:540,540|0:|
Point(onGetString)
Point(doGetString)
link(onGetString,13431522:doWork2,[])
}
Add(IndexToChanel,4442027,538,184)
{
Count=3
Point(Index)
link(onEvent1,6607401:doGetString,[])
link(onEvent2,14146251:doGetString,[(616,197)(616,246)])
link(onEvent3,8926195:doGetString,[(603,204)(603,316)])
link(Index,542542:Var,[])
}
Add(GlobalVar,542542,538,142)
{
Name="Index"
}
Add(HubEx,6959566,706,163)
{
link(onEvent,8459393:doSplit,[])
}
Add(StrList,8926195,636,282)
{
Strings=#5:10,10|6:145,10|6:280,10|6:410,10|6:540,10|6:10,145|7:145,145|7:280,145|7:410,145|7:540,145|6:10,275|7:145,275|7:280,275|7:410,275|7:540,275|6:10,410|7:145,410|7:280,410|7:410,410|7:540,410|6:10,540|7:150,540|7:280,540|7:410,540|7:540,540|0:|
Point(onGetString)
Point(doGetString)
link(onGetString,13431522:doWork3,[(710,295)])
}
Add(HubEx,13431522,706,219)
{
Angle=3
link(onEvent,6959566:doWork3,[])
}
Add(MatrixRW,725452,368,121)
{
link(onRead,14296759:doValue,[])
link(Matrix,2936430:Data3,[(374,71)(234,71)])
link(X,12223891:Var3,[(388,107)])
link(Y,12968182:Var3,[(395,93)])
}
Add(If_else,3422457,416,338)
{
link(onTrue,9463091:doFont,[])
link(onFalse,8097146:doFont,[])
link(Op1,121481:Var2,[])
link(Op2,14296759:Value,[])
}
Add(GetDataEx,121481,416,257)
{
Angle=3
link(Data,15188099:Value,[(278,262)])
}
Add(Hub,15772378,321,121)
{
link(onEvent1,725452:doRead,[])
link(onEvent2,8333575:doOperation,[(346,134)(346,190)])
}
Add(GetDataEx,12223891,228,102)
{
Angle=3
link(Data,13885777:Position,[(193,107)(193,164)(147,164)])
}
Add(GetDataEx,12968182,235,88)
{
Angle=3
link(Data,16164817:Position,[(203,93)(203,174)(70,174)])
}
Add(Memory,14296759,423,121)
{
link(onData,3422457:doCompare,[(471,127)(471,229)(404,229)(404,344)])
}
Add(Font,9463091,521,338)
{
Font=[Times New Roman,36,1,16711935,204]
link(onFont,4418095:doWork2,[])
}
Add(Font,8097146,472,345)
{
Font=[Times New Roman,36,1,16777215,204]
link(onFont,4418095:doWork3,[(577,351)])
}
Add(HubEx,4418095,573,338)
{
link(onEvent,6913255:doFont,[(659,344)(659,344)])
}
Add(GetDataEx,695662,71,98)
{
link(Data,854521:Var,[])
}
Add(VisualStrings,502545,98,343)
{
Lines=#18: отрисовка массива|24: и проверка правильности|
Width=151
Height=39
}
END_SDK
Add(MultiElementEx,16081415,532,350)
{
link(onEvent1,4125956:doWork2,[])
link(onEvent2,15575012:doWork2,[(644,363)(644,425)])
link(Data,5030253:Var2,[])
link(Matrix,11980970:Var2,[(545,334)(580,334)])
}
BEGIN_SDK
Add(EditMultiEx,11402398,22,21)
{
WorkCount=#8:doEvent1|
EventCount=#8:onEvent1|8:onEvent2|
DataCount=#4:Data|6:Matrix|
Width=797
Height=662
VOffset=80
HOffset=650
link(doEvent1,4961936:doEvent1,[])
}
Add(Hub,4961936,56,101)
{
OutCount=3
link(onEvent1,13317502:doEvent1,[(106,107)(106,181)])
link(onEvent2,3543420:doEvent1,[(95,114)(95,405)])
link(onEvent3,11402398:onEvent1,[(444,121)(444,107)])
}
Add(GlobalVar,11808569,399,302)
{
Name="Rnd"
Data=Integer(1)
}
Add(MatrixRW,16552076,672,217)
{
link(Matrix,16726084:Var,[])
link(Value,3025543:Item,[(685,205)(649,205)(649,268)(580,268)])
link(X,3167064:Position,[(692,195)(623,195)(623,288)(468,288)])
link(Y,5965632:Position,[(699,190)(614,190)(614,279)(412,279)])
}
Add(For,5965632,406,224)
{
link(onEvent,3167064:doFor,[])
link(onStop,803849:doClear,[])
link(End,4219711:Var2,[])
}
Add(For,3167064,462,224)
{
link(onEvent,803849:doOperation,[])
link(End,4219711:Var3,[(475,213)])
}
Add(GlobalVar,2098356,413,186)
{
Name="Max"
}
Add(ArrayRW,3025543,574,224)
{
link(onRead,16552076:doWrite,[])
link(Array,5627295:Array,[])
}
Add(Math,803849,525,224)
{
Op2=1
Default=-1
Point(doClear)
link(onResult,3025543:doRead,[])
link(Op1,803849:Result,[(531,209)(519,209)(519,263)(531,263)])
}
Add(StrList,5627295,560,168)
{
Strings=#1:1|1:2|1:3|1:4|1:5|1:6|1:7|1:8|1:9|2:10|2:11|2:12|2:13|2:14|2:15|2:16|2:17|2:18|2:19|2:20|2:21|2:22|2:23|2:24|2:25|
}
Add(GetDataEx,4219711,413,208)
{
link(Data,2098356:Var,[])
}
Add(VisualStrings,9310659,168,518)
{
Lines=#35:1. Заполняем два массива по порядку|0:|53:2. Первый массив перемешиваем, что позволяет избежать|27: не рещаемых комбинаций |
Width=347
Height=67
}
Add(Hub,13317502,142,175)
{
link(onEvent1,9794747:doData,[])
link(onEvent2,3982989:doData,[])
}
Add(GetIndexData,16726084,672,140)
{
link(Data1,11402398:Data,[])
link(Data2,11402398:Matrix,[])
}
Add(Hub,3015794,338,175)
{
InCount=2
link(onEvent1,16726084:doIndex,[(439,181)(439,146)])
link(onEvent2,5965632:doFor,[(373,188)(373,230)])
}
Add(Random,1474742,399,365)
{
Max=0
Point(Max)
Point(doMax)
link(onRandom,3309269:doEvent1,[])
link(Max,7674253:Var2,[])
}
Add(Random,6435138,511,378)
{
Max=0
Point(Max)
Point(doMax)
link(onRandom,7911310:doEvent1,[])
link(Max,7674253:Var3,[(517,334)])
}
Add(GlobalVar,13251393,476,344)
{
Name="x"
}
Add(GetDataEx,7674253,399,329)
{
link(Data,11808569:Var,[])
}
Add(Hub,7236745,336,385)
{
OutCount=4
link(onEvent1,1474742:doRandomize,[(363,391)(363,378)])
link(onEvent2,1474742:doMax,[(371,398)(371,392)])
link(onEvent3,6435138:doMax,[])
link(onEvent4,1474742:doRandom,[(379,412)(379,371)])
}
Add(Hub,3309269,448,365)
{
link(onEvent1,13251393:doValue,[(469,371)(469,350)])
link(onEvent2,6435138:doRandom,[(486,378)(486,384)])
}
Add(GlobalVar,16450403,609,344)
{
Name="y"
}
Add(DoData,9794747,192,175)
{
Data=Integer(0)
link(onEventData,3015794:doEvent1,[])
}
Add(DoData,3982989,266,182)
{
Data=Integer(1)
link(onEventData,3015794:doEvent2,[])
}
Add(Timer,4749618,273,385)
{
Interval=20
Enable=1
AutoStop=1
Point(doAutoStop)
link(onTimer,7236745:doEvent1,[])
}
Add(DoData,5504040,637,385)
{
Data=Integer(0)
link(onEventData,11402398:onEvent2,[(744,391)(744,114)])
}
Add(GlobalVar,12792724,210,351)
{
Name="rol"
}
Add(DoData,386724,210,399)
{
link(onEventData,4749618:doAutoStop,[])
link(Data,12792724:Var,[])
}
Add(Hub,3543420,154,399)
{
link(onEvent1,386724:doData,[])
link(onEvent2,4749618:doTimer,[(196,412)(196,391)])
}
Add(Hub,7911310,567,378)
{
link(onEvent1,16450403:doValue,[(595,384)(595,350)])
link(onEvent2,5504040:doData,[])
}
END_SDK
Add(GetDataEx,11980970,574,287)
{
link(Data,15474371:Matrix,[])
}
Add(Matrix,10427673,532,266)
{
Col=2
Row=2
Point(Size)
link(Size,13168492:Var1,[(538,214)])
}
Add(MultiElement,11296608,735,433)
{
link(onEvent1,3007892:doWork2,[])
link(Data1,14554093:Var3,[(741,412)])
}
BEGIN_SDK
Add(EditMulti,13424974,21,21)
{
EventCount=1
WorkCount=1
DataCount=1
Width=580
Height=741
VOffset=500
HOffset=80
link(doWork1,1617316:doCompare,[(31,527)(31,527)])
}
Add(MatrixRW,14864457,119,280)
{
link(onRead,4607735:doValue,[])
link(Matrix,6853857:Var2,[])
link(X,15474174:Var2,[])
link(Y,11130251:Var2,[])
}
Add(MatrixRW,14679569,133,322)
{
link(onRead,16242601:doValue,[])
link(Matrix,8318642:Var2,[])
link(X,1298976:Var2,[])
link(Y,5641007:Var2,[])
}
Add(MatrixRW,14040589,147,364)
{
link(onRead,2498297:doValue,[])
link(Matrix,12610013:Var2,[])
link(X,885551:Var2,[])
link(Y,6576303:Var2,[])
}
Add(MatrixRW,5346657,161,406)
{
link(onRead,9952939:doValue,[])
link(Matrix,15864918:Var2,[])
link(X,5689284:Var2,[])
link(Y,15527187:Var2,[])
}
Add(Memory,4607735,222,280)
{
}
Add(Memory,16242601,300,322)
{
}
Add(Memory,2498297,383,364)
{
}
Add(Memory,9952939,520,406)
{
}
Add(Hub,10679515,63,280)
{
OutCount=9
link(onEvent1,14864457:doRead,[])
link(onEvent2,14679569:doRead,[(105,293)(105,328)])
link(onEvent3,14040589:doRead,[(105,300)(105,370)])
link(onEvent4,5346657:doRead,[(105,307)(105,412)])
link(onEvent5,13560396:doWrite,[(93,314)(93,599)])
link(onEvent6,15558168:doWrite,[(93,321)(93,634)])
link(onEvent7,8360950:doWrite,[(93,328)(93,669)])
link(onEvent8,14211008:doWrite,[(93,335)(93,711)])
link(onEvent9,13424974:onEvent1,[(584,342)(584,527)])
}
Add(MatrixRW,13560396,215,586)
{
link(Matrix,6476534:Var2,[])
link(Value,1706935:Var,[(228,573)(481,573)])
link(X,15474174:Var3,[(235,264)])
link(Y,11130251:Var3,[(242,254)])
}
Add(MatrixRW,15558168,293,621)
{
link(Matrix,3477820:Var2,[])
link(Value,5636369:Var,[(306,591)(259,591)])
link(X,1298976:Var3,[(313,243)])
link(Y,5641007:Var3,[(320,232)])
}
Add(MatrixRW,8360950,376,656)
{
link(Matrix,4729312:Var2,[])
link(Value,8264827:Var,[(389,608)(342,608)])
link(X,885551:Var3,[(396,221)])
link(Y,6576303:Var3,[(403,209)])
}
Add(MatrixRW,14211008,513,698)
{
link(Matrix,4729312:Var3,[(519,82)])
link(Value,6752272:Var,[(526,629)(427,629)])
link(X,5689284:Var3,[(533,197)])
link(Y,15527187:Var3,[(540,186)])
}
Add(GetDataEx,6476534,215,77)
{
Angle=3
link(Data,15864918:Var3,[])
}
Add(GetDataEx,15864918,161,77)
{
Angle=3
link(Data,12610013:Var3,[])
}
Add(GetDataEx,12610013,147,77)
{
Angle=3
link(Data,8318642:Var3,[])
}
Add(GetDataEx,8318642,133,77)
{
Angle=3
link(Data,6853857:Var3,[])
}
Add(GetDataEx,6853857,119,77)
{
Angle=3
link(Data,13424974:Data1,[(107,82)])
}
Add(GetDataEx,4729312,376,77)
{
Angle=3
link(Data,3477820:Var3,[])
}
Add(GetDataEx,3477820,293,77)
{
Angle=3
link(Data,6476534:Var3,[])
}
Add(GetDataEx,15474174,133,259)
{
link(Data,10122272:Var1,[])
}
Add(GetDataEx,11130251,140,249)
{
link(Data,10122272:Var2,[])
}
Add(GetDataEx,1298976,147,238)
{
link(Data,10122272:Var3,[])
}
Add(GetDataEx,5641007,154,227)
{
link(Data,10122272:Var4,[])
}
Add(GetDataEx,885551,161,216)
{
link(Data,10122272:Var5,[])
}
Add(GetDataEx,6576303,168,204)
{
link(Data,10122272:Var6,[])
}
Add(GetDataEx,5689284,175,192)
{
link(Data,10122272:Var7,[])
}
Add(GetDataEx,15527187,182,181)
{
link(Data,10122272:Var8,[])
}
Add(GetIndexData,5636369,253,528)
{
link(onIndex,8264827:doIndex,[])
link(Data1,6573703:Var2,[])
link(Data2,4338350:Var1,[(266,454)])
}
Add(GetIndexData,6752272,421,528)
{
link(onIndex,1706935:doIndex,[])
link(Data1,4338350:Var2,[(427,489)(389,489)])
link(Data2,6573703:Var3,[(434,425)])
}
Add(GetIndexData,8264827,336,528)
{
link(onIndex,6752272:doIndex,[])
link(Data1,13163380:Var2,[])
link(Data2,6434924:Var1,[(349,478)])
}
Add(GetIndexData,1706935,475,528)
{
link(onIndex,10122272:doWork1,[(562,534)(562,109)(110,109)(110,125)])
link(Data1,6434924:Var2,[])
link(Data2,13163380:Var3,[(488,439)])
}
Add(GetDataEx,6573703,253,420)
{
link(Data,4607735:Value,[(259,397)(228,397)])
}
Add(GetDataEx,13163380,336,434)
{
link(Data,16242601:Value,[(342,402)(306,402)])
}
Add(GetDataEx,4338350,383,449)
{
link(Data,2498297:Value,[])
}
Add(MultiElement,10122272,133,119)
{
link(onEvent1,10679515:doEvent1,[(206,125)(206,168)(51,168)(51,286)])
}
BEGIN_SDK
Add(EditMulti,8038771,21,21)
{
EventCount=1
WorkCount=1
VarCount=8
Width=244
Height=290
VOffset=150
HOffset=80
link(doWork1,15332388:doOperation,[])
link(Var1,16273737:Var2,[])
link(Var2,5599295:Var2,[])
link(Var3,11738117:Var3,[(121,96)])
link(Var4,10867766:Var1,[(128,227)])
link(Var5,8832231:Var2,[])
link(Var6,10867766:Var2,[])
link(Var7,8832231:Var3,[(149,250)])
link(Var8,5599295:Var3,[(156,271)])
}
Add(GlobalVar,2725252,101,31)
{
Name="x"
}
Add(GlobalVar,7874702,108,55)
{
Name="y"
}
Add(Math,15332388,129,171)
{
Op2=1
link(onResult,10266585:doOperation,[])
link(Op1,16273737:Var3,[(135,117)])
}
Add(GetDataEx,11738117,101,91)
{
link(Data,2725252:Var,[])
}
Add(GetDataEx,12818736,108,77)
{
link(Data,7874702:Var,[])
}
Add(Math,10266585,189,171)
{
Op2=1
link(onResult,8038771:onEvent1,[])
link(Op1,12818736:Var3,[(195,82)])
}
Add(GetDataEx,16273737,101,112)
{
link(Data,11738117:Var2,[])
}
Add(GetDataEx,10867766,136,222)
{
Angle=1
link(Data,10266585:Result,[(195,227)])
}
Add(GetDataEx,8832231,129,245)
{
link(Data,15332388:Result,[])
}
Add(GetDataEx,5599295,108,266)
{
link(Data,12818736:Var2,[])
}
END_SDK
Add(GetDataEx,6434924,475,473)
{
Angle=1
link(Data,9952939:Value,[(526,478)])
}
Add(VisualStrings,15600413,182,721)
{
Lines=#27:крутим цифры вправо и влево|
Width=172
Height=25
}
Add(If_else,1617316,42,521)
{
Op2=Integer(2)
link(onFalse,5636369:doIndex,[(164,534)(164,534)])
}
END_SDK
Add(GlobalVar,10933276,574,181)
{
Name="Size"
}
Add(MultiElement,12321972,798,433)
{
@Hint=#10:переменные|
link(onEvent1,4125956:doWork3,[(849,439)(849,380)(667,380)])
link(onEvent2,1696789:doWork1,[(851,446)(851,478)(583,478)(583,439)])
link(Data1,3865073:MouseX,[(804,389)(692,389)])
link(Data2,3865073:MouseY,[(811,372)(699,372)])
link(Data3,11058741:Var3,[(818,395)])
}
BEGIN_SDK
Add(EditMulti,135593,7,14)
{
EventCount=2
WorkCount=1
DataCount=3
Width=734
Height=235
VOffset=100
HOffset=80
link(doWork1,10175526:doOperation,[(47,120)(47,106)])
}
Add(Math,10175526,87,100)
{
OpType=7
Op2=64
link(onResult,5269626:doEvent1,[])
link(Op1,135593:Data1,[])
link(Op2,5423398:Var2,[])
}
Add(Hub,5269626,131,100)
{
link(onEvent1,2061715:doValue,[(153,106)(153,70)])
link(onEvent2,378995:doOperation,[])
}
Add(GlobalVar,2061715,160,64)
{
Name="x"
}
Add(Math,378995,195,107)
{
OpType=7
Op2=64
link(onResult,6695084:doEvent1,[])
link(Op1,135593:Data2,[(201,51)(100,51)])
link(Op2,5423398:Var3,[(208,89)])
}
Add(Hub,6695084,238,107)
{
link(onEvent1,1362940:doValue,[(263,113)(263,63)])
link(onEvent2,6622359:doOperation,[])
}
Add(GlobalVar,1362940,288,57)
{
Name="y"
}
Add(GlobalVar,4233107,94,63)
{
Name="Div"
}
Add(GetDataEx,5423398,94,84)
{
link(Data,4233107:Var,[])
}
Add(Img_Rectangle,236751,507,159)
{
Point2AsOffset=0
Style=1
LineStyle=1
Size=4
Color=32768
BgColor=32768
Point(Point1)
Point(Point2)
link(onDraw,4669955:doEvent1,[(560,165)(557,165)])
link(Bitmap,135593:Data3,[(513,42)(107,42)])
link(Point1,11128174:Point,[(527,147)(435,147)(435,221)(343,221)])
link(Point2,15164628:Var,[])
}
Add(Hub,9149408,463,114)
{
link(onEvent1,135593:onEvent1,[])
link(onEvent2,236751:doDraw,[(492,127)(492,165)])
}
Add(Math,6622359,337,114)
{
OpType=2
ResultType=0
link(onResult,11808759:doOperation,[])
link(Op1,10175526:Result,[(343,91)(284,91)(284,146)(93,146)])
link(Op2,3740960:Var2,[])
}
Add(Math,11808759,386,114)
{
OpType=2
ResultType=0
link(onResult,9149408:doEvent1,[])
link(Op1,378995:Result,[(392,100)(300,100)(300,160)(201,160)])
link(Op2,3740960:Var3,[(399,77)])
}
Add(PointXY,11128174,337,177)
{
link(X,6622359:Result,[])
link(Y,11808759:Result,[(350,161)(392,161)])
}
Add(GlobalVar,2346915,344,49)
{
Name="Rect"
}
Add(GetDataEx,3740960,344,72)
{
link(Data,2346915:Var,[])
}
Add(GlobalVar,15164628,528,73)
{
Name="Point"
}
Add(ChangeMon,9260992,660,159)
{
link(onData,135593:onEvent2,[(716,165)(716,127)])
}
Add(DoData,4347595,602,175)
{
Data=Integer(1)
link(onEventData,9630878:doWork3,[(647,181)])
}
Add(HubEx,9630878,643,159)
{
link(onEvent,9260992:doData,[])
}
Add(Hub,4669955,560,159)
{
link(onEvent1,9630878:doWork2,[(631,165)(631,165)])
link(onEvent2,4347595:doData,[(588,172)(588,181)])
}
END_SDK
Add(Matrix,15474371,574,230)
{
Col=2
Row=2
Point(Size)
link(Size,13168492:Var2,[])
}
Add(ChildPanel,1952994,406,336)
{
link(onEvent1,4061033:doEvent1,[])
}
BEGIN_SDK
Add(EditMulti,4804632,21,21)
{
EventCount=1
Width=993
Height=347
VOffset=85
}
Add(Panel,16321913,854,294)
{
Left=5
Top=625
Width=607
Height=55
Color=-16777215
BevelOuter=2
}
Add(Label,16242819,42,50)
{
Left=20
Top=10
Width=110
Height=35
Color=-16777215
Font=[Times New Roman,20,1,65535,204]
Cursor=2
Caption="новичок"
link(onClick,10760774:doEvent1,[])
}
Add(Label,650124,42,136)
{
Left=250
Top=10
Width=121
Height=35
Color=-16777215
Font=[Times New Roman,20,1,65535,204]
Cursor=2
Caption="опытный"
link(onClick,7609522:doEvent1,[])
}
Add(Label,6887216,42,223)
{
Left=500
Top=10
Width=88
Height=35
Color=-16777215
Font=[Times New Roman,20,1,65535,204]
Cursor=2
Caption="мастер"
link(onClick,4558478:doEvent1,[])
}
Add(DoData,6864805,133,50)
{
Data=Integer(196611)
link(onEventData,10308362:doWork2,[])
}
Add(DoData,9773379,133,136)
{
Data=Integer(262148)
link(onEventData,8916526:doWork2,[])
}
Add(DoData,52733,133,223)
{
Data=Integer(327685)
link(onEventData,8916526:doWork3,[(431,229)])
}
Add(GlobalVar,6591700,448,50)
{
Name="Size"
}
Add(HubEx,10308362,427,50)
{
link(onEvent,6591700:doValue,[])
}
Add(HubEx,8916526,427,136)
{
Angle=3
link(onEvent,10308362:doWork3,[])
}
Add(Hub,10760774,91,50)
{
OutCount=9
link(onEvent1,6864805:doData,[])
link(onEvent2,10431665:doData,[])
link(onEvent3,2862728:doData,[])
link(onEvent4,16088253:doData,[])
link(onEvent5,3775835:doData,[])
link(onEvent6,6762003:doData,[])
link(onEvent7,4843003:doData,[])
link(onEvent8,1263258:doData,[])
link(onEvent9,3895620:doEvent1,[])
}
Add(Hub,7609522,91,136)
{
OutCount=9
link(onEvent1,9773379:doData,[])
link(onEvent2,4754308:doData,[])
link(onEvent3,8711968:doData,[])
link(onEvent4,12200909:doData,[])
link(onEvent5,13123167:doData,[])
link(onEvent6,4402579:doData,[])
link(onEvent7,2223727:doData,[])
link(onEvent8,4735830:doData,[])
link(onEvent9,3895620:doEvent2,[(119,198)(119,119)])
}
Add(Hub,4558478,91,223)
{
OutCount=9
link(onEvent1,52733:doData,[])
link(onEvent2,7888468:doData,[])
link(onEvent3,16331884:doData,[])
link(onEvent4,4395028:doData,[])
link(onEvent5,8686170:doData,[])
link(onEvent6,16461931:doData,[])
link(onEvent7,11585351:doData,[])
link(onEvent8,800766:doData,[])
link(onEvent9,3895620:doEvent3,[(119,285)(119,126)])
}
Add(DoData,10431665,175,57)
{
Data=Integer(300)
link(onEventData,7700855:doWork2,[])
}
Add(DoData,4754308,175,143)
{
Data=Integer(200)
link(onEventData,12427537:doWork2,[])
}
Add(DoData,7888468,175,230)
{
Data=Integer(150)
link(onEventData,12427537:doWork3,[(507,236)])
}
Add(GlobalVar,11085804,524,57)
{
Name="Div"
}
Add(HubEx,7700855,503,57)
{
link(onEvent,11085804:doValue,[])
}
Add(HubEx,12427537,503,143)
{
Angle=3
link(onEvent,7700855:doWork3,[])
}
Add(DoData,2862728,217,64)
{
Data=Integer(2)
link(onEventData,2675546:doWork2,[])
}
Add(DoData,8711968,217,150)
{
Data=Integer(3)
link(onEventData,6091367:doWork2,[])
}
Add(DoData,16331884,217,237)
{
Data=Integer(4)
link(onEventData,6091367:doWork3,[(577,243)])
}
Add(GlobalVar,10480267,589,64)
{
Name="Max"
}
Add(HubEx,2675546,573,64)
{
link(onEvent,10480267:doValue,[])
}
Add(HubEx,6091367,573,150)
{
Angle=3
link(onEvent,2675546:doWork3,[])
}
Add(DoData,16088253,259,71)
{
Data=Integer(0)
link(onEventData,9161940:doWork2,[])
}
Add(DoData,12200909,259,157)
{
Data=Integer(1)
link(onEventData,1265908:doWork2,[])
}
Add(DoData,4395028,259,244)
{
Data=Integer(2)
link(onEventData,1265908:doWork3,[(650,250)])
}
Add(GlobalVar,6599228,660,71)
{
Name="Index"
}
Add(HubEx,9161940,646,71)
{
link(onEvent,6599228:doValue,[])
}
Add(HubEx,1265908,646,157)
{
Angle=3
link(onEvent,9161940:doWork3,[])
}
Add(Hub,3895620,133,106)
{
InCount=3
OutCount=1
link(onEvent1,4804632:onEvent1,[(553,112)(553,112)])
}
Add(DoData,3775835,301,78)
{
Data=Integer(1)
link(onEventData,15453376:doWork2,[])
}
Add(DoData,13123167,301,164)
{
Data=Integer(2)
link(onEventData,12402249:doWork2,[])
}
Add(DoData,8686170,301,251)
{
Data=Integer(3)
link(onEventData,12402249:doWork3,[(724,257)])
}
Add(GlobalVar,2054325,737,78)
{
Name="Rnd"
}
Add(HubEx,15453376,720,78)
{
link(onEvent,2054325:doValue,[])
}
Add(HubEx,12402249,720,164)
{
Angle=3
link(onEvent,15453376:doWork3,[])
}
Add(DoData,6762003,343,85)
{
Data=Integer(270)
link(onEventData,16100025:doWork2,[])
}
Add(DoData,4402579,343,171)
{
Data=Integer(175)
link(onEventData,14924803:doWork2,[])
}
Add(DoData,16461931,343,258)
{
Data=Integer(133)
link(onEventData,14924803:doWork3,[(790,264)])
}
Add(GlobalVar,960837,800,85)
{
Name="Rect"
}
Add(HubEx,16100025,786,85)
{
link(onEvent,960837:doValue,[])
}
Add(HubEx,14924803,786,171)
{
Angle=3
link(onEvent,16100025:doWork3,[])
}
Add(DoData,4843003,385,92)
{
Data=Integer(21627210)
link(onEventData,6248095:doWork2,[])
}
Add(GlobalVar,10168839,870,92)
{
Name="Point"
}
Add(DoData,11585351,385,265)
{
Data=Integer(13107400)
link(onEventData,3335351:doWork3,[(860,271)])
}
Add(HubEx,6248095,856,92)
{
link(onEvent,10168839:doValue,[])
}
Add(HubEx,3335351,856,178)
{
Angle=3
link(onEvent,6248095:doWork3,[])
}
Add(DoData,2223727,385,178)
{
Data=Integer(16384250)
link(onEventData,3335351:doWork2,[])
}
Add(VisualStrings,5497969,497,294)
{
Lines=#30:начальные установки переменных|
Width=186
Height=25
}
Add(DoData,1263258,441,99)
{
Data=Integer(10)
link(onEventData,4569374:doWork2,[])
}
Add(DoData,800766,441,272)
{
Data=Integer(30)
link(onEventData,1196417:doWork3,[(928,278)])
}
Add(DoData,4735830,441,185)
{
Data=Integer(18)
link(onEventData,1196417:doWork2,[])
}
Add(GlobalVar,16036354,945,99)
{
Name="rol"
}
Add(HubEx,4569374,924,99)
{
link(onEvent,16036354:doValue,[])
}
Add(HubEx,1196417,924,185)
{
Angle=3
link(onEvent,4569374:doWork3,[])
}
END_SDK
Add(Hub,4061033,455,336)
{
OutCount=3
link(onEvent1,15474371:doSize,[(496,342)(496,236)])
link(onEvent2,10427673:doSize,[(507,349)(507,272)])
link(onEvent3,16081415:doEvent1,[])
}
Add(GetDataEx,5030253,532,315)
{
link(Data,10427673:Matrix,[])
}
Add(GetDataEx,13168492,574,209)
{
link(Data,10933276:Var,[])
}
Add(GetDataEx,14554093,595,407)
{
link(Data,5030253:Var3,[(601,320)])
}
Add(GetDataEx,11058741,679,390)
{
link(Data,3865073:Bitmap,[])
}
Add(HubEx,15575012,719,419)
{
Angle=1
link(onEvent,11296608:doWork1,[(723,439)])
}
Add(HubEx,4125956,663,350)
{
Angle=3
link(onEvent,3865073:doClear,[(667,342)])
}
Add(HubEx,3007892,777,433)
{
link(onEvent,12321972:doWork1,[])
}
Ответов: 875
Рейтинг: 322
|
|||
Что-то типа пятнашек. Щелкая правой или левой клавишей мыши, вы вращаете цифры по или против часовой стрелки. Задача расположить все цифры по порядку. Правильно стоящая цифра выделяется цветом. Код обновлен, теперь Иван Васильевича не должны терзать смутные сомнения. Поправил - при одновременном нажатии клавиш записывались нули.
|
|||
карма: 1 |
| ||
Голосовали: | tig-rrr, Flapiotun, sla8a |
Редактировалось 2 раз(а), последний 2022-11-15 16:18:27