Леонид писал(а):
Надо Операнд1 сделать числом:
Add(MainForm,13090827,70,42)
{
Width=1012
Height=714
}
Add(MST_Matrix,6025367,525,448)
{
X=3
Y=-1
MSTControl="tab3"
link(onEMatrix,11941995:doEnum,[])
}
Add(MT_Enum,11941995,581,448)
{
link(onItem,14316799:doWork1,[])
link(onEndEnum,14316799:doWork2,[])
}
Add(MultiElement,14316799,630,448)
{
link(onEvent1,10078581:doText,[])
link(onEvent2,1453267:doAdd,[(688,461)(688,587)])
}
BEGIN_SDK
Add(EditMulti,13768204,21,21)
{
EventCount=2
WorkCount=2
Width=1105
Height=431
link(doWork1,15475667:doMultiReplace,[(554,27)(554,139)])
link(doWork2,3294917:doData,[(441,34)(441,209)])
}
Add(If_else,15676708,784,133)
{
Type=2
Op2=Integer(0)
link(onTrue,4963888:doValue,[])
link(Op2,7510404:Var1,[(797,121)(832,121)(832,177)])
}
Add(MultiReplace,15475667,595,133)
{
ReplaceList="&=;"
link(onResult,8246802:doConvert,[])
}
Add(Memory,4963888,861,133)
{
Default=Integer(0)
link(onData,13768204:onEvent2,[(1029,139)(1029,34)])
}
Add(DoData,3294917,861,203)
{
link(onEventData,13768204:onEvent1,[(1009,209)(1009,27)])
link(Data,7510404:Var2,[])
}
Add(GetDataEx,7510404,861,172)
{
link(Data,4963888:Value,[])
}
Add(ConvertorEx,8246802,651,133)
{
Mode=1
link(onResult,15676708:doCompare,[])
}
END_SDK
Add(MTStrTbl,8665475,756,273)
{
Left=20
Top=20
Width=785
Height=635
Name="tab3"
Columns=#11:раз =120==2|10:два =60==2|10:три =60==2|14:четыре =120==2|12:пять =100==2|0:|
ColorItems=0
AddHint(-60,10,36,13,Name)
}
Add(MST_RowAction,3841903,518,273)
{
MSTControl="tab3"
}
Add(MT_AddData,12164739,455,273)
{
Count=5
link(onAdd,3841903:doRowAction,[])
link(Data1,3310343:Var2,[])
link(Data2,6836663:Var2,[])
link(Data3,3198459:Var2,[])
link(Data4,52095:Result,[])
link(Data5,3198459:Var3,[(489,243)])
}
Add(Random,15656489,322,140)
{
Min=1
Max=1000
link(onRandom,52095:doStrCat,[])
}
Add(Timer,966470,203,140)
{
Interval=12
AutoStop=21
Point(onStop)
link(onTimer,15656489:doRandom,[])
link(onStop,6025367:doEMatrix,[(284,153)(284,454)])
}
Add(VisualStrings,5568318,448,196)
{
Lines=#1:0|
}
Add(GetDataEx,3310343,455,238)
{
Angle=3
link(Data,5568318:Text,[(454,243)])
}
Add(GetDataEx,6836663,462,238)
{
Angle=3
link(Data,3310343:Var3,[])
}
Add(GetDataEx,3198459,469,238)
{
Angle=3
link(Data,6836663:Var3,[])
}
Add(Edit,10078581,700,448)
{
Left=840
Top=65
Width=130
Text=""
}
Add(StrCat,52095,476,140)
{
Str1="&"
link(onStrCat,12164739:doAdd,[(519,146)(519,188)(443,188)(443,279)])
link(Str2,15656489:Random,[(489,128)(381,128)(381,184)(328,184)])
}
Add(Memo,1453267,714,581)
{
Left=840
Top=100
Width=135
Height=550
}