Вверх ↑
Ответов: 655
Рейтинг: 0
#1: 2005-09-05 01:21:56 ЛС | профиль | цитата
[code:1]Add(MainForm,8921009,49,203) {
Left=20
Top=105
link(onCreate,4952295:doRead,[])
}
Add(Button,7885080,103,84)
{
Left=15
Top=35
Caption="пуск"
link(onClick,13536884:doTimer,[])
}
Add(Button,11419164,103,126)
{
Left=15
Top=65
Caption="стоп"
link(onClick,14979828:doEvent1,[])
}
Add(Timer,13536884,215,84)
{
Enable=1
link(onTimer,9839236:doEvent1,[])
}
Add(LED,12384342,341,84)
{
Left=135
Top=60
ColorOn=32768
}
Add(Hub,9839236,271,84)
{
link(onEvent1,12384342:doChangeValue,[])
link(onEvent2,5416394:doNext,[(322,97)(322,153)])
}
Add(Beep,2516494,516,154)
{
Freq=700
}
Add(Counter,5416394,348,147)
{
Point(doMax)
link(onNext,4371735:doEvent,[])
}
Add(Edit,15768311,236,168)
{
Left=135
Top=35
Text="0"
link(onChange,6353412:doEvent1,[])
}
Add(UpDown,6074473,159,168)
{
Left=100
Top=35
Max=600
link(onPosition,15768311:doText,[])
}
Add(LED,3294433,516,77)
{
Left=165
Top=60
}
Add(Hub,5693199,446,147)
{
OutCount=3
link(onEvent1,3294433:doChangeValue,[(497,153)(497,83)])
link(onEvent2,2516494:doBeep,[])
link(onEvent3,14979828:doEvent2,[(489,167)(489,122)(149,122)(149,139)])
}
Add(IndexToChanel,4371735,404,147)
{
link(onEvent1,5693199:doEvent1,[])
}
Add(Hub,14979828,159,126)
{
InCount=2
link(onEvent1,13536884:doStop,[(203,132)(203,97)])
link(onEvent2,5416394:doReset,[(317,139)(317,167)])
}
Add(Label,15179086,103,168)
{
Left=150
Top=10
Width=35
Caption="(сек.)"
}
Add(Ini,4952295,287,238)
{
FileName="file.ini"
Section="sec"
Key="0"
Type=1
link(onResult,3513796:doEvent1,[])
}
Add(Hub,3513796,329,238)
{
OutCount=3
link(onEvent1,6074473:doPosition,[(378,244)(378,220)(149,220)(149,174)])
link(onEvent2,15768311:doText2,[(388,251)(388,208)(226,208)(226,181)])
link(onEvent3,1037430:doWork3,[(401,258)(401,202)(333,202)])
}
Add(Hub,6353412,280,168)
{
link(onEvent1,1037430:doWork2,[])
link(onEvent2,4952295:doWrite,[(325,181)(325,229)(277,229)(277,251)])
}
Add(HubEx,1037430,329,161)
{
link(onEvent,5416394:doMax,[])
}
[/code:1]
А вообще пример есть : [b]HiAsmExampleFilesIniFiles.sha[/b]
карма: 0

0