Код схемы
Add(MainForm,12961720,294,315)
{
Width=363
Height=252
Caption="Пример использования Repeat"
}
Add(GetDataEx,5381912,659,315)
{
link(Data,9244718:Result,[])
}
Add(For,11239521,504,273)
{
link(onEvent,13327416:doFor,[])
link(onStop,11141912:doSave,[(648,286)(648,370)])
link(End,15448451:Caption,[(517,173)(223,173)])
}
Add(Hub,8682092,476,259)
{
OutCount=3
link(onEvent1,6715422:doRandomize,[(572,265)(572,286)])
link(onEvent3,11239521:doFor,[])
}
Add(For,13327416,554,273)
{
Start=1
link(onEvent,6715422:doRandom,[])
link(onStop,15684307:doEvent1,[(592,286)(592,335)])
link(End,8225983:Caption,[(567,173)(125,173)])
}
Add(Random,6715422,603,273)
{
Max=1
link(onRandom,9244718:doStrCat,[])
}
Add(StrCat,9244718,659,273)
{
Point(doClear)
link(Str1,5381912:Var1,[(665,261)(656,261)(656,320)])
}
Add(DoData,221029,659,329)
{
link(onEventData,11141912:doAdd,[(725,335)(725,335)])
link(Data,5381912:Var2,[])
}
Add(Hub,15684307,617,329)
{
link(onEvent1,221029:doData,[])
link(onEvent2,9244718:doClear,[(641,342)(641,286)])
}
Add(Button,8460354,301,259)
{
Left=20
Top=75
link(onClick,8682092:doEvent1,[])
}
Add(Label,8225983,119,42)
{
Left=125
Top=45
link(Text,15797697:Position,[(125,30)(113,30)(113,121)(125,121)])
}
Add(Label,15448451,217,42)
{
Left=215
Top=45
link(Text,13012608:Position,[(223,30)(211,30)(211,121)(223,121)])
}
Add(Splitter,13612191,217,126)
{
Left=185
Top=130
}
Add(UpDown,15797697,119,77)
{
Left=125
Top=75
Max=1000
link(onPosition,8225983:doText,[(163,83)(163,65)(107,65)(107,48)])
}
Add(UpDown,13012608,217,77)
{
Left=215
Top=75
Max=1000000
link(onPosition,15448451:doText,[(261,83)(261,65)(205,65)(205,48)])
}
Add(Label,1192350,98,126)
{
Left=100
Top=125
Width=99
Height=17
Caption="длина последоват."
}
Add(Label,8162854,217,126)
{
Left=215
Top=125
Width=98
Height=17
Caption="число комбинаций"
}
Add(StrList,11141912,760,329)
{
FileName="ini.txt"
}
[/cоde]