Add(MainForm,2953706,133,105) { } Add(StrList,10416980,686,196) { Strings=#5:Влево|6:Вправо| Point(doGetString) Point(onGetString) link(onGetString,1972820:doText,[]) } Add(If_else,8456973,637,238) { Op2=Integer(1) link(onTrue,10416980:doGetString,[]) link(Op1,3826640:Data,[(643,226)(631,226)(631,281)(594,281)]) } Add(ChanelToIndex,3826640,588,238) { Point(Data) link(onIndex,8456973:doCompare,[]) } Add(Label,1972820,735,203) { Left=145 Top=90 Width=77 Height=36 Font=[MS Sans Serif,20,1,0,1] } Add(Keyboard,15092606,252,133) { Key=37 link(onReadKey,15056235:doValue,[]) } Add(Keyboard,6248634,252,182) { Key=17 link(onReadKey,2765328:doValue,[]) } Add(Keyboard,8443775,252,224) { Key=18 link(onReadKey,16187132:doValue,[]) } Add(Math,8661440,350,182) { link(onResult,3689766:doCompare,[]) link(Op1,16187132:Value,[(356,173)(344,173)(344,263)(307,263)]) link(Op2,2765328:Value,[(363,165)(338,165)(338,220)(307,220)]) } Add(Switch,14121952,532,175) { DataOff=Integer(1) Default=0 Point(doOn) Point(onOff) link(onOff,3826640:doWork1,[(576,188)(576,244)]) } Add(Memory,2765328,301,182) { link(onData,8661440:doOperation,[]) } Add(Memory,16187132,301,224) { } Add(If_else,3689766,392,182) { Op2=Integer(2) link(onTrue,2913369:doEvent1,[]) } Add(If_else,9981891,483,182) { Op1=Integer(1) link(onTrue,14121952:doReset,[]) link(onFalse,14121952:doOn,[]) link(Op2,15056235:Value,[]) } Add(Memory,15056235,490,133) { } Add(Switch,8262160,539,329) { DataOff=Integer(1) Default=0 Point(doOn) Point(onOff) link(onOff,3826640:doWork2,[(578,342)(578,251)]) } Add(If_else,5730714,490,336) { Op1=Integer(1) link(onTrue,8262160:doReset,[]) link(onFalse,8262160:doOn,[]) link(Op2,7595250:Value,[]) } Add(Memory,7595250,497,287) { } Add(Keyboard,2985837,252,287) { Key=39 link(onReadKey,7595250:doValue,[]) } Add(Hub,2913369,441,182) { link(onEvent1,9981891:doCompare,[]) link(onEvent2,5730714:doCompare,[(469,195)(469,342)]) } Add(Hub,13191934,196,189) { OutCount=4 link(onEvent1,15092606:doReadKey,[(222,195)(222,139)]) link(onEvent2,6248634:doReadKey,[(231,202)(231,188)]) link(onEvent3,8443775:doReadKey,[(231,209)(231,230)]) link(onEvent4,2985837:doReadKey,[(224,216)(224,293)]) } Add(Timer,5820169,152,189) { Interval=60 link(onTimer,13191934:doEvent1,[]) }