Examples
Add(hcTplForm,2953706,217,91)
{
Width=344
Height=159
StartPosition=1
Point(doCaption)
}
Add(hcMessage,4,168,112)
{
Caption="Error"
Icon=1
}
Add(hcTplButton,3,14,105)
{
Left=102
Top=49
Width=123
Height=34
Caption="DoInline"
Data=String(#Hello)
link(onClick,7:doAdd,[])
AddHint(2,-21,34,13,Data)
}
Add(hcTplEdit,5,119,56)
{
Left=102
Top=23
Text="Inline"
AddHint(0,-20,29,13,Text)
}
Add(hcTplEdit,6,161,56)
{
Left=175
Top=23
Text="Code!"
AddHint(0,-20,32,13,Text)
}
Add(hcInline,2,119,105)
{
Code=#58:// Сигнатура метода: public object doInline(object[] args)|0:|19:string data = null;|0:|24:foreach (var dt in args)|1:{|40: data += (dt as TData).toStr() + " ";|1:}|0:|34:Stopwatch watch = new Stopwatch();|12: |14:watch.Reset();|14:watch.Start();|0:|26:for(int i = 0; i < 5; ++i)|1:{|35: Console.WriteLine(data.Trim());|1:}|4: |13:watch.Stop();|0:|70:return data.Trim() + " : " + watch.ElapsedTicks.ToString() + " ticks";|
Arguments=2
ReferencedAssemblies=#10:System.dll|21:c:\HiAsm.NET\MSDK.dll|
Imports=#6:System|18:System.Diagnostics|5:HiAsm|
link(onResult,2953706:doCaption,[])
link(onError,4:doMessage,[])
link(Arg1,5:Text,[])
link(Arg2,6:Text,[(132,97)(167,97)])
}
Add(hcMT_Add,7,70,105)
{
Data=String(MT)
link(onAdd,2:doInline,[])
AddHint(7,-22,19,13,Data)
}
Add(EntryPoint,2953706,259,84)
{
Width=347
Height=156
Icon=[ZIP7E04000078DA9DD34F4C13691400F0D78AD14613C946F700C6C841772FDE08D1932BD9C48A49412F266B702F246ACC9A1837E16022AE20286A140DF55F812E32085D11E8E05464916995D252683BD34E8B1D6A8B88E2C11813A3E64DDBE757AB31266AD46FF2E6F0F2FD32EF7B6F3E001D7BF2F381BD57C39E3C809F01E057162CC532B97C76FD9607DFB1AA976DDA7471BBCD665B0A3FB4CE9C3099FAD3B23C6A75B98415DF23B76EED6A00F897CACBFB28998C921C9A941D03EEDF0148F735B772E501C3F8B8585B5939AC01B491C9D4878944445355855CE2E4EBFABA5BC7DC6EB7E1F3FAE8BAF5EBAFB95FBE7C45C6CD420AA015CBCBED38FB700AA3D1B0D6DF374ECDE75D148D4A3745515CF3A9AD619D6D1A311A07A8A1C1A3190C9D08D0811515767CFC781A7D3E59ABDCC953ED3F77489642E4F7FBBA3EF5FB0A005A9E190C1DA4D7B7337B8D45E77BAFA2D71BD2AAAA04EAE4BCEC1C410A4764CFC4C4C4C28FBEAE18C0FA06804B035C65B62BE7B7D971EE491CFDFE30FEB9CB9EE13ABC1494140A2BA104EBC34F397B7209C0A90A566F7AF1E2F654B6670505D799E7D8F7797C329F40498EE0DF0707332D2D63E4744AA4AA53AF24C9B72EE78FAF0238B71FA09DAAABEF68C9E41C1615DD60BEFD5DFDF3592F45D16219CB9C6CBC4BFBFFBA458FE662194591B6C462B14500F51B58EF9AB2F3EEEF8B68B1D853CCCFE7B0B8D886DD36373E48DCC7783C867B773B327B760F92D93C4A89844AA150706F2010280438F607F3033ADD55E2ED53383B3B8766F3089BBB82CF9FC7716626EB23D8D67A2FE574CA74E5B287E20FE2A428CA69E64B983D0B7069BEA4E43A896220333D1DD6923351BCEBF2E3E19A9BD8D828A0287A515543EC1CFEF4FF433E8AA92AFB0FA2B783C1606561E1D132A3B1E9D0C8C8D0F0E4E4D80B490AD0F0B0874A4BDB88D596D6EBEB5265655748748E522030411E8F7B461874B4F20EDE34E41A5AFB618244357A8BC5F24B6F6F6F95C3E1B0F2FCA0D2DC6CC766737F9AE705551084D6EEEEEE1D1CC72DFF963B94DDD7F35FC7BE9E1EAED66ABD50F8A57DA91A161B01DE2C0348B269880B008E6443970BF8C28D1317E5DC5B60D9DF0D]
StartPosition=1
Configuration=2
Symbols="CUSTOM"
Constants=0
WarningLevel=3
ErrorReport=1
CheckOverflow=0
DebugInfo=2
Embed=0
Architecture=1
Compatibility=31
DpiAware=0
Point(doText)
Point(onError)
link(onError,23:doMessage,[])
}
Add(hcMessage,23,308,98)
{
Caption="Error"
Icon=1
}
Add(hcTplButton,3,35,84)
{
Left=105
Top=49
Width=123
Height=34
Caption="DoInline"
Data=String(#Hello)
link(onClick,7:doAdd,[])
AddHint(2,-21,34,13,Data)
}
Add(hcTplEdit,5,161,35)
{
Left=105
Top=23
Text="Inline"
AddHint(0,-20,29,13,Text)
}
Add(hcTplEdit,6,203,35)
{
Left=178
Top=23
Text="Code!"
AddHint(0,-20,32,13,Text)
}
Add(hcInline,2,161,84)
{
Code=#58:// Сигнатура метода: public object doInline(object[] args)|0:|19:string data = null;|0:|24:foreach (var dt in args)|1:{|33: data += (dt as string) + " ";|1:}|0:|34:Stopwatch watch = new Stopwatch();|12: |14:watch.Reset();|14:watch.Start();|0:|26:for(int i = 0; i < 5; ++i)|1:{|35: Console.WriteLine(data.Trim());|1:}|4: |13:watch.Stop();|0:|70:return data.Trim() + " : " + watch.ElapsedTicks.ToString() + " ticks";|
Arguments=2
ReferencedAssemblies=#10:System.dll|
Imports=#6:System|18:System.Diagnostics|5:HiAsm|
link(onResult,2953706:doText,[])
link(onError,4:doMessage,[])
link(Arg1,5:Text,[])
link(Arg2,6:Text,[(174,76)(209,76)])
}
Add(hcMessage,4,210,91)
{
Caption="Error"
Icon=1
}
Add(hcMT_Add,7,98,84)
{
Data=String(MT)
link(onAdd,2:doInline,[])
AddHint(7,-22,19,13,Data)
}