Add(PaintBox,6696323,301,147) { Left=20 Top=15 Width=350 Height=230 Point(MouseX) Point(MouseY) Point(onMouseDown) Point(onMouseMove) Point(doColor) link(onMouseDown,6694850:doEvent1,[]) link(onMouseMove,2846879:doCase,[]) } Add(PointXY,11878244,308,203) { link(X,6696323:MouseX,[]) link(Y,6696323:MouseY,[]) } Add(Case,2846879,371,161) { Value=Integer(0) link(onTrue,12297531:doEvent1,[(415,174)(415,230)]) } Add(DoData,16379368,469,154) { link(onEventData,5149707:doValue,[]) link(Data,14616404:Var3,[(475,142)(381,142)(381,247)]) } Add(Memory,5149707,525,154) { } Add(Hub,12297531,427,224) { link(onEvent1,320327:doData,[]) link(onEvent2,6694850:doEvent2,[(453,237)(453,202)(422,202)(422,167)]) } Add(Hub,6694850,434,154) { InCount=2 OutCount=1 link(onEvent1,16379368:doData,[]) } Add(DoData,320327,455,224) { link(onEventData,10553077:doEvent1,[]) link(Data,14616404:Var1,[(461,212)(335,212)]) } Add(GetDataEx,14616404,329,242) { Angle=3 link(Data,11878244:Point,[(314,247)]) } Add(Img_Line,11005912,518,224) { Size=2 Color=8421504 Point(Point2) link(Bitmap,12610769:Var3,[(524,202)]) link(Point2,16717432:Var2,[]) } Add(Img_Line,4624324,525,273) { Point(Point2) link(onDraw,6696323:doRefresh,[(562,279)(562,216)(289,216)(289,153)]) link(Bitmap,12610769:Var2,[(531,239)(503,239)]) link(Point2,16717432:Var1,[(538,237)(522,237)(522,201)]) } Add(GetDataEx,16717432,525,196) { link(Data,5149707:Value,[]) } Add(GetDataEx,12610769,497,197) { Angle=3 link(Data,6696323:Bitmap,[(307,202)]) } Add(Hub,10553077,497,224) { link(onEvent1,11005912:doDraw,[]) link(onEvent2,4624324:doDraw,[(515,237)(515,279)]) }