Исправлено
Add(MainForm,5499923,70,91)
{
Width=496
Height=432
link(onCreate,6444768:doFor,[])
}
Add(StringTable,8266939,371,105)
{
@Hint=#21:Сортировка по классам|
Left=5
Top=5
Width=225
Height=295
Columns=#8:Класс=40|14:Имя ученика=80|7:Балл=50|
ColumnClick=1
Point(Strings)
Point(onColumnClick)
Point(doSortDigit)
AddHint(-19,-38,137,13,@Hint)
}
Add(StringTable,4246445,735,252)
{
Left=235
Top=5
Width=235
Height=295
Columns=#8:Класс=40|14:Имя ученика=80|7:Балл=50|
}
Add(FormatStr,5353700,322,91)
{
DataCount=3
Mask="%1;Ученик #%2;%3"
link(onFString,8266939:doAdd,[(362,97)(362,111)])
link(Str1,8149795:Random,[(328,81)(315,81)(315,138)(188,138)])
link(Str2,16106170:Random,[(335,75)(307,75)(307,131)(230,131)])
}
Add(Random,16106170,224,91)
{
Min=1
Max=30
link(onRandom,3308923:doRandom,[])
}
Add(Random,3308923,266,91)
{
Min=45
link(onRandom,5353700:doString,[])
}
Add(Random,8149795,182,91)
{
Min=1
Max=10
link(onRandom,16106170:doRandom,[])
}
Add(For,6444768,133,105)
{
End=199
link(onEvent,8149795:doRandom,[(173,111)(173,97)])
link(onStop,5771575:doEvent1,[(172,118)(172,146)])
}
Add(DoData,6492976,322,140)
{
Data=Integer(0)
link(onEventData,8266939:doSortDigit,[])
}
Add(Hub,5771575,259,140)
{
OutCount=3
link(onEvent1,6492976:doData,[])
link(onEvent2,3075955:doWork2,[])
link(onEvent3,3663873:doEnum,[(291,160)(291,181)])
}
Add(MultiStrData,8626986,434,175)
{
link(onPart1,4851895:doData,[])
}
Add(DoData,10736319,595,217)
{
Data=Integer(2)
link(onEventData,15320644:doSortDigit,[])
}
Add(ChangeMon,4851895,483,175)
{
Data=Integer(1)
Point(onNoData)
link(onData,14990067:doEvent1,[(531,181)(531,223)])
link(onNoData,1016712:doWork2,[])
}
Add(Hub,14990067,546,217)
{
InCount=2
OutCount=3
link(onEvent1,10736319:doData,[])
link(onEvent2,9960467:doEnum,[(582,230)(582,258)])
link(onEvent3,1016712:doWork3,[(571,237)])
}
Add(ArrayEnum,9960467,658,252)
{
Type=1
link(onItem,4246445:doAdd,[])
link(onEndEnum,3075955:doWork3,[(706,265)(706,153)])
link(Array,15320644:Strings,[])
}
Add(HubEx,3075955,622,147)
{
Angle=1
link(onEvent,15320644:doClear,[(626,195)])
}
Add(StringTable,15320644,644,182)
{
@Hint=#30:Обратная сортировка по баллам.|
Width=0
Height=0
Visible=1
Columns=#1:1|1:2|1:3|
Point(doSortDigit)
Point(Strings)
link(Str,3663873:Item,[(650,163)(472,163)(472,218)(391,218)])
AddHint(-78,-57,185,13,@Hint)
}
Add(HubEx,1016712,567,182)
{
link(onEvent,15320644:doAdd,[])
}
Add(ArrayEnum,3663873,385,175)
{
link(onItem,8626986:doSplit,[])
link(onEndEnum,14990067:doEvent2,[(428,188)(428,230)])
link(Array,8266939:Strings,[])
}