------------ Дoбавленo в 13.18:
Как-то вот так
Add(MainForm,2894639,147,224)
{
Width=357
Height=78
link(onCreate,8283391:doWork2,[])
}
Add(MathParse,10700093,238,238)
{
DataCount=5
MathStr="(%1 = %2) * (%1 = %3) * (%1 = %4) * (%1 = %5) * (%2 = %3) * (%2 = %4) * (%2 = %5) * (%3 = %4) * (%3 = %5) * (%4 = %5)"
ResultType=0
link(onResult,4891760:doCase,[])
link(X1,5179588:Text,[(244,216)(174,216)])
link(X2,11787435:Text,[(251,210)(216,210)])
link(X3,2728156:Text,[])
link(X4,5235813:Text,[(265,222)(300,222)])
link(X5,15904502:Text,[(272,230)(342,230)])
}
Add(Edit,5179588,168,126)
{
Left=15
Top=10
Text="128"
DataType=2
link(onChange,1295365:doWork1,[(465,132)])
}
Add(Edit,11787435,210,140)
{
Left=70
Top=10
Text="128"
DataType=2
link(onChange,1295365:doWork2,[])
}
Add(Edit,2728156,252,154)
{
Left=125
Top=10
Text="128"
DataType=2
link(onChange,7734215:doWork2,[])
}
Add(Edit,5235813,294,168)
{
Left=180
Top=10
Text="128"
DataType=2
link(onChange,12241350:doWork2,[])
}
Add(Edit,15904502,336,182)
{
Left=235
Top=10
Text="128"
DataType=2
link(onChange,2694084:doWork2,[])
}
Add(LED,495682,392,224)
{
Left=305
Top=10
}
Add(HubEx,8283391,210,238)
{
link(onEvent,10700093:doCalc,[])
}
Add(HubEx,1295365,461,140)
{
Angle=1
link(onEvent,7734215:doWork1,[])
}
Add(HubEx,7734215,461,154)
{
Angle=1
link(onEvent,12241350:doWork1,[])
}
Add(HubEx,12241350,461,168)
{
Angle=1
link(onEvent,2694084:doWork1,[])
}
Add(HubEx,2694084,461,182)
{
Angle=1
link(onEvent,8283391:doWork3,[(465,282)(214,282)])
}
Add(Case,4891760,336,238)
{
Value=Integer(0)
link(onNextCase,495682:doOn,[])
link(onTrue,495682:doOff,[(380,251)(380,237)])
}