Вверх ↑
Ответов: 783
Рейтинг: 168
#1: 2020-12-04 07:58:14 ЛС | профиль | цитата
flud писал(а):
Мне нужен предсказуемый генератор чисел

Add(MainForm,6702281,98,98)
{
Width=590
}
Add(Random,11761833,504,154)
{
Max=255
link(onRandom,3113304:doEvent,[])
}
Add(Random,16477768,476,252)
{
Max=255
}
Add(ListBox,671532,693,154)
{
Left=100
Top=30
Width=95
Height=235
}
Add(ListBox,3132195,693,259)
{
Left=200
Top=30
Width=90
Height=235
}
Add(Button,16637802,98,140)
{
Left=15
Top=100
Height=55
link(onClick,3520621:doEvent1,[])
}
Add(ListBox,16317752,693,357)
{
Left=295
Top=30
Width=90
Height=235
}
Add(ListBox,15549370,693,469)
{
Left=390
Top=30
Width=90
Height=235
}
Add(ListBox,2261830,693,567)
{
Left=485
Top=30
Width=90
Height=235
}
Add(Random,8006678,476,350)
{
Max=255
}
Add(Random,9035662,476,462)
{
Max=255
}
Add(Random,456152,476,560)
{
Max=255
}
Add(Edit,12006883,301,63)
{
Left=100
Top=5
Width=95
Text="20"
}
Add(For,12532950,217,147)
{
End=4
link(onEvent,8433569:doIndex,[])
}
Add(Edit,3917225,350,63)
{
Left=200
Top=5
Width=90
Text="160"
}
Add(Edit,5946527,399,63)
{
Left=295
Top=5
Width=90
Text="70"
}
Add(Edit,3110873,441,63)
{
Left=385
Top=5
Width=95
Text="5"
}
Add(Edit,10656320,483,63)
{
Left=485
Top=5
Width=90
Text="600"
}
Add(Hub,3520621,154,140)
{
link(onEvent1,8821856:doEvent1,[(203,146)(203,83)])
link(onEvent2,12532950:doFor,[])
}
Add(Hub,8821856,217,77)
{
OutCount=5
link(onEvent1,1932624:In,[])
link(onEvent2,9975457:In,[])
link(onEvent3,15264687:In,[])
link(onEvent4,6642361:In,[])
link(onEvent5,3441652:In,[])
}
Add(LineBreak,14637132,644,168)
{
link(Out,671532:doClear,[(684,174)(684,167)])
Primary=[1932624,-399,-91]
}
Add(LineBreak,15417745,644,273)
{
link(Out,3132195:doClear,[(684,279)(684,272)])
Primary=[9975457,-399,-189]
}
Add(LineBreak,4413633,644,371)
{
link(Out,16317752:doClear,[(684,377)(684,370)])
Primary=[15264687,-399,-280]
}
Add(LineBreak,12044501,644,483)
{
link(Out,15549370:doClear,[(684,489)(684,482)])
Primary=[6642361,-399,-385]
}
Add(LineBreak,13399531,644,581)
{
link(Out,2261830:doClear,[(684,587)(684,580)])
Primary=[3441652,-399,-476]
}
Add(IndexToChanel,3113304,567,154)
{
Count=5
Point(Index)
link(onEvent1,671532:doAdd,[])
link(onEvent2,3132195:doAdd,[(634,167)(634,265)])
link(onEvent3,16317752:doAdd,[(627,174)(627,363)])
link(onEvent4,15549370:doAdd,[(620,181)(620,475)])
link(onEvent5,2261830:doAdd,[(613,188)(613,573)])
link(Index,12532950:Position,[(573,145)(559,145)(559,194)(223,194)])
}
Add(GetIndexData,8433569,301,147)
{
Count=5
link(onIndex,16240018:doEvent1,[])
link(Data1,12006883:Text,[])
link(Data2,3917225:Text,[(314,103)(356,103)])
link(Data3,5946527:Text,[(321,110)(405,110)])
link(Data4,3110873:Text,[(328,117)(447,117)])
link(Data5,10656320:Text,[(335,124)(489,124)])
}
Add(For,13296447,399,154)
{
link(onEvent,11761833:doRandom,[])
link(End,8433569:Var,[(412,145)(391,145)(391,187)(307,187)])
}
Add(Hub,16240018,364,147)
{
link(onEvent1,13077211:doData,[])
link(onEvent2,13296447:doFor,[])
}
Add(DoData,13077211,448,147)
{
Data=Integer(1234)
link(onEventData,11761833:doRandSeed,[(487,153)(487,174)])
}

карма: 15

0
Редактировалось 2 раз(а), последний 2020-12-04 08:05:02