Объясните мне идиоту пожалуйста, ПОЧЕМУ это не работает? ) Если убрать сравнение то все отлично. Проблема именно на этапе сравнения, загрузка файла не происходит после сравнения. Add(MainForm,2603728,105,42) { Width=1609 Height=967 Caption="Пример использования if_else" } Add(If_else,4729388,273,266) { Type=1 Op1=Integer(0) Op2=Integer(13240) link(onTrue,10823916:doDownload,[]) } Add(HTTP_Get,10823916,378,266) { URL="" Wait=0 link(onDownload,16033274:doConvert,[]) } Add(Convertor,16033274,455,273) { Mode=11 link(onResult,14443421:doSearch,[]) } Add(BlockFind,14443421,525,273) { IncludeBlock=1 StartBlock="<loc>" EndBlock="</loc>" link(onSearch,3219978:doReplace,[]) } Add(Replace,3219978,588,273) { SubStr="&" DestStr="&" link(onReplace,13127934:doEvent2,[(699,279)(699,412)]) } Add(HTTP_Get,7735954,161,252) { URL="" Wait=0 link(onURLSize,4729388:doCompare,[]) } Add(CheckBox,10547583,763,448) { Left=10 Top=140 Width=140 Checked=0 Caption="Случайный порядок" } Add(Edit,7065250,651,406) { Left=65 Top=105 Width=45 Text="7" DataType=2 ClearAfterEnter=1 link(onChange,5122062:doEvent1,[(695,412)(695,436)(583,436)(583,461)]) } Add(Label,10823011,693,350) { Left=10 Top=110 Width=53 Height=17 Caption="Интервал" } Add(Label,5324941,742,350) { Left=120 Top=110 Width=25 Height=17 Caption="сек." } Add(Button,15230804,546,462) { Left=10 Top=165 Width=125 Caption="Старт" link(onClick,5122062:doEvent2,[]) } Add(ListBox,9901049,889,371) { Left=10 Top=340 Width=130 Height=60 DataType=1 Point(doLoad) Point(doSelect) Point(onSelect) Point(EndIdx) Point(String) link(onChange,10626358:doEvent1,[(933,377)(933,426)]) link(onSelect,15129342:doEvent1,[]) } Add(Hub,13127934,812,399) { InCount=3 link(onEvent1,9901049:doAdd,[(858,405)(858,377)]) link(onEvent2,2134394:doData,[(837,412)(837,468)]) } Add(DoData,2134394,910,462) { link(onEventData,542141:doMax,[]) link(Data,9901049:EndIdx,[]) } Add(Button,11849292,546,504) { Left=10 Top=190 Width=125 Caption="Стоп" link(onClick,9881410:doEvent1,[]) } Add(WebBrowser,1507637,973,385) { Left=293 Width=1300 Height=928 Align=3 URL="" Silent=0 } Add(Timer,15352547,707,497) { Interval=0 Enable=1 Point(doInterval) link(onTimer,1620092:doEvent,[]) } Add(Hub,5122062,595,455) { InCount=2 link(onEvent1,8356632:doOperation,[]) link(onEvent2,15352547:doTimer,[(634,468)(634,503)]) } Add(CounterEx,542141,980,455) { Max=2 Default=-1 Point(doMax) Point(doReset) Point(onThroughMax) link(onNext,5028031:doEvent1,[]) link(onThroughMax,542141:doReset,[(1019,468)(1019,496)(970,496)(970,475)]) } Add(IndexToChanel,1620092,763,497) { Point(Index) link(onEvent1,542141:doNext,[(961,503)(961,461)]) link(onEvent2,12809008:doRandom,[]) link(Index,10547583:Checked,[]) } Add(Math,8356632,644,455) { OpType=2 Op1=1000 ResultType=0 link(onResult,15352547:doInterval,[(683,461)(683,517)]) link(Op2,7065250:Text,[]) } Add(Random,12809008,819,504) { Max=0 Point(Max) Point(doMax) link(onRandom,5028031:doEvent2,[(943,510)(943,468)]) } Add(Label,2531889,1120,504) { Left=10 Top=305 Width=74 Height=19 Caption="" link(Text,13653503:Value,[]) } Add(Label,5024744,1120,413) { Left=10 Top=280 Width=79 Height=17 Caption="Номер ссылки" } Add(Memory,13653503,1120,455) { link(onData,2531889:doText,[(1164,461)(1164,485)(1108,485)(1108,510)]) } Add(Hub,5028031,1036,455) { InCount=2 link(onEvent1,13653503:doValue,[]) link(onEvent2,9901049:doSelect,[(1062,468)(1062,440)(877,440)(877,412)]) } Add(Label,2595530,896,525) { Left=10 Top=245 Width=104 Height=24 Caption="" link(Text,9901049:Count,[]) } Add(Label,10952148,1120,553) { Left=10 Top=220 Width=104 Height=17 Caption="Количество ссылок" } Add(Button,6274293,98,266) { Left=10 Top=10 Width=125 Height=50 Caption="Прайс" Data=String() link(onClick,7735954:GetURLSize,[]) } Add(Button,15086556,266,378) { Left=10 Top=70 Width=125 Caption="Очистить список" Data=String() link(onClick,9901049:doClear,[]) } Add(StatusBar,16535691,784,574) { link(Text,9901049:String,[(790,495)(923,495)]) } Add(Hub,15129342,945,385) { OutCount=3 link(onEvent1,1507637:doNavigate,[]) link(onEvent2,16535691:doText,[(971,398)(971,542)(772,542)(772,580)]) link(onEvent3,9901049:doDelete,[(971,405)(971,398)(877,398)(877,391)]) } Add(Memory,1165103,896,574) { Point(Data) link(onData,14871643:doEvent1,[]) link(Data,2595530:Caption,[]) } Add(Hub,10626358,938,420) { InCount=2 link(onEvent1,2595530:doText,[(964,426)(964,478)(870,478)(870,531)]) link(onEvent2,1165103:doValue,[(964,433)(964,507)(870,507)(870,580)]) } Add(Hub,14871643,952,574) { link(onEvent2,12809008:doMax,[(971,587)(971,559)(807,559)(807,531)]) } Add(Hub,9881410,609,504) { InCount=2 link(onEvent1,15352547:doStop,[]) }
Редактировалось 2 раз(а), последний 2022-05-20 18:03:30
|