Вверх ↑
Ответов: 92
Рейтинг: 3
#1: 2009-09-04 13:42:32 ЛС | профиль | цитата
iarspider писал(а):
Zerosoft, а поподробнее?


Прошу прощения, не мог раньше ответить.

code_14810.txt

вот кусочек кода из схемы - при замене верхнего редактора текста на список строк схема не функционировала (поиск блоков и разбиение на части), просто пропускали строки без изменений - сейчас перекомпилировал - все работает что бы это все значило?
------------ Дoбавленo в 15.59:
Вот еще.

В одном случае расширенный редактор текста в другом список строк - результат разный:


Add(MainForm,9054734,21,105)
{
Left=20
Top=105
Width=713
Height=319
}
Add(StrList,12610107,266,217)
{
link(onChange,15868801:doWork1,[(331,223)(331,181)])
}
Add(WinExec,7643991,175,63)
{
Mode=8
Point(doConsoleExec)
Point(onConsoleError)
link(onConsoleError,2528275:doEvent1,[(215,76)(215,69)])
}
Add(RichEdit,11798707,525,119)
{
Top=60
Width=705
Height=110
ScrollBars=2
HideFrames=0
ParseLinks=0
}
Add(Button,7568089,119,63)
{
Left=5
Top=5
Color=-16777211
Caption="Form"
Data=String(C:\codecv1.6\ffmpeg.exe -i "C:\Terminator.4.avi")
link(onClick,7643991:doConsoleExec,[(163,69)(163,83)])
}
Add(MultiElement,2625656,357,63)
{
link(onEvent1,2969766:doString,[(401,69)(401,97)(345,97)(345,125)])
link(Data1,3436977:Array,[(363,57)(293,57)])
}
BEGIN_SDK
Add(EditMulti,5042783,21,21)
{
EventCount=1
WorkCount=1
DataCount=1
VarCount=3
Width=636
Height=270
link(doWork1,982814:doEnum,[(21,139)])
link(Var1,16244349:Value,[(27,204)(573,204)])
link(Var2,15938417:Value,[(34,224)(545,224)])
link(Var3,12426201:Value,[(41,277)(286,277)])
}
Add(BlockFind,16499563,231,133)
{
StartBlock="#"
EndBlock=":"
link(onSearch,16166863:doReplace,[])
}
Add(Hub,10846697,82,133)
{
link(onEvent1,3154081:doValue,[(126,139)(126,90)])
link(onEvent2,4129267:doSplit,[(126,146)(126,34)])
}
Add(ArrayEnum,982814,35,133)
{
link(onItem,10846697:doEvent1,[])
link(Array,5042783:Data1,[(41,52)(27,52)])
}
Add(Replace,16166863,280,133)
{
SubStr="#"
link(onReplace,9859744:doReplace,[])
}
Add(Replace,9859744,329,133)
{
SubStr=":"
link(onReplace,5879689:doReplace,[])
}
Add(Replace,5879689,378,133)
{
SubStr="."
DestStr=":"
link(onReplace,10200867:doEvent1,[])
}
Add(Hub,4567612,189,133)
{
OutCount=3
link(onEvent1,16499563:doSearch,[])
link(onEvent2,8902564:doSearch,[(226,48)(226,188)])
link(onEvent3,5042783:onEvent1,[(415,153)(415,27)])
}
Add(Memory,14025918,476,84)
{
Default=String(-map )
}
Add(StrCat,10209264,476,133)
{
link(onStrCat,16244349:doValue,[])
link(Str1,14025918:Value,[])
link(Str2,6359249:Value,[(489,125)(531,125)])
}
Add(Memory,6359249,525,84)
{
Default=String(-map)
link(onData,10209264:doStrCat,[(569,90)(569,114)(464,114)(464,139)])
}
Add(Memory,3154081,138,84)
{
Point(Data)
}
Add(Memory,12761818,138,133)
{
Default=String(Audio)
Point(Data)
link(onData,4567612:doEvent1,[])
link(Data,3154081:Value,[])
}
Add(StrPart,4129267,138,28)
{
Char="Audio"
link(onSplit,12761818:doValue,[(182,34)(182,66)(126,66)(126,139)])
}
Add(BlockFind,8902564,231,182)
{
StartBlock="Audio: "
EndBlock=","
link(onSearch,1300356:doReplace,[])
}
Add(Replace,1300356,280,182)
{
SubStr="Audio: "
link(onReplace,14449274:doReplace,[])
}
Add(Replace,14449274,329,182)
{
SubStr=","
link(onReplace,15938417:doValue,[])
}
Add(Memory,16244349,567,133)
{
}
Add(Memory,15938417,539,182)
{
}
Add(Replace,9773203,231,231)
{
SubStr=":"
link(onReplace,12426201:doValue,[])
}
Add(Hub,10200867,425,133)
{
link(onEvent1,6359249:doValue,[(491,139)(491,90)])
link(onEvent2,9773203:doReplace,[(469,146)(469,192)(219,192)(219,237)])
}
Add(Memory,12426201,280,231)
{
}
END_SDK
Add(FormatStr,2969766,357,119)
{
DataCount=3
Mask="-i "C:\Terminator.4.avi" -y -acodec copy "C:\Terminator.4.avi" %1"
link(onFString,11798707:doAdd,[])
link(Str1,2625656:Var1,[])
link(Str2,2625656:Var2,[])
link(Str3,2625656:Var3,[])
}
Add(RichEdit,3436977,273,14)
{
Top=175
Width=705
Height=310
Visible=1
ScrollBars=2
HideFrames=0
ParseLinks=0
link(onChange,2625656:doWork1,[(331,20)(331,69)])
}
Add(Hub,2528275,224,63)
{
OutCount=4
link(onEvent1,3436977:doAdd,[(264,69)(264,20)])
link(onEvent2,12610107:doAdd,[(261,76)(261,223)])
}
Add(FormatStr,10531474,357,231)
{
DataCount=3
Mask="-i "C:\Terminator.4.avi" -y -acodec copy "C:\Terminator.4.avi" %1"
link(onFString,13343737:doAdd,[])
link(Str1,15868801:Var1,[])
link(Str2,15868801:Var2,[])
link(Str3,15868801:Var3,[])
}
Add(RichEdit,13343737,532,231)
{
Top=175
Width=705
Height=110
ScrollBars=2
HideFrames=0
ParseLinks=0
}
Add(MultiElement,15868801,357,175)
{
link(onEvent1,10531474:doString,[(401,181)(401,209)(345,209)(345,237)])
link(Data1,12610107:Array,[(363,163)(325,163)(325,274)(286,274)])
}
BEGIN_SDK
Add(EditMulti,5042783,21,21)
{
EventCount=1
WorkCount=1
DataCount=1
VarCount=3
Width=636
Height=270
link(doWork1,982814:doEnum,[(21,139)])
link(Var1,16244349:Value,[(27,204)(573,204)])
link(Var2,15938417:Value,[(34,224)(545,224)])
link(Var3,12426201:Value,[(41,277)(286,277)])
}
Add(BlockFind,16499563,231,133)
{
StartBlock="#"
EndBlock=":"
link(onSearch,16166863:doReplace,[])
}
Add(Hub,10846697,82,133)
{
link(onEvent1,3154081:doValue,[(126,139)(126,90)])
link(onEvent2,4129267:doSplit,[(126,146)(126,34)])
}
Add(ArrayEnum,982814,35,133)
{
link(onItem,10846697:doEvent1,[])
link(Array,5042783:Data1,[(41,52)(27,52)])
}
Add(Replace,16166863,280,133)
{
SubStr="#"
link(onReplace,9859744:doReplace,[])
}
Add(Replace,9859744,329,133)
{
SubStr=":"
link(onReplace,5879689:doReplace,[])
}
Add(Replace,5879689,378,133)
{
SubStr="."
DestStr=":"
link(onReplace,10200867:doEvent1,[])
}
Add(Hub,4567612,189,133)
{
OutCount=3
link(onEvent1,16499563:doSearch,[])
link(onEvent2,8902564:doSearch,[(226,48)(226,188)])
link(onEvent3,5042783:onEvent1,[(415,153)(415,27)])
}
Add(Memory,14025918,476,84)
{
Default=String(-map )
}
Add(StrCat,10209264,476,133)
{
link(onStrCat,16244349:doValue,[])
link(Str1,14025918:Value,[])
link(Str2,6359249:Value,[(489,125)(531,125)])
}
Add(Memory,6359249,525,84)
{
Default=String(-map)
link(onData,10209264:doStrCat,[(569,90)(569,114)(464,114)(464,139)])
}
Add(Memory,3154081,138,84)
{
Point(Data)
}
Add(Memory,12761818,138,133)
{
Default=String(Audio)
Point(Data)
link(onData,4567612:doEvent1,[])
link(Data,3154081:Value,[])
}
Add(StrPart,4129267,138,28)
{
Char="Audio"
link(onSplit,12761818:doValue,[(182,34)(182,66)(126,66)(126,139)])
}
Add(BlockFind,8902564,231,182)
{
StartBlock="Audio: "
EndBlock=","
link(onSearch,1300356:doReplace,[])
}
Add(Replace,1300356,280,182)
{
SubStr="Audio: "
link(onReplace,14449274:doReplace,[])
}
Add(Replace,14449274,329,182)
{
SubStr=","
link(onReplace,15938417:doValue,[])
}
Add(Memory,16244349,567,133)
{
}
Add(Memory,15938417,539,182)
{
}
Add(Replace,9773203,231,231)
{
SubStr=":"
link(onReplace,12426201:doValue,[])
}
Add(Hub,10200867,425,133)
{
link(onEvent1,6359249:doValue,[(491,139)(491,90)])
link(onEvent2,9773203:doReplace,[(469,146)(469,192)(219,192)(219,237)])
}
Add(Memory,12426201,280,231)
{
}
END_SDK


Почему так?
карма: 0

0
файлы: 1code_14810.txt [4.4KB] [138]