中国最专业的商业控件服务网

慧都控件网

电话:400-700-1020(免费)或023-66090381
product
最经典Silverlight控件套包助你打造酷炫的Web应用程序
上一个 上一个 LMD StoragePack 下一个 下一个CleverFilter
LMD ScriptPack
[产品编号: 11063 ]  
LMD ScriptPack

收藏订阅

  • 当前版本:v2011   [销售以商家最新版为准,如需其他版本,请来电咨询]
  • 开  发 商:LMD Innovative 正式授权
  • 产品类型:独立控件
  • 产品功能:其他
  • 控件类型:VCL
  • 其他特性:Windows Form
  • 产品源码:提供源码
关于本产品的分类与介绍仅供参考,具体以商家网站介绍为准。
产品介绍 下载 购买 版本更新 开发商 视频与培训 评论  
LMD ScriptPack v5.1(最新版) (09-07-28) v5.0

LMD ScriptPack 版本更新 v5.1 (更新日期:7/28/2009)
  • New PascalScript Language support added. Unlike the previously MS ActiveScripting based languages this is a 100% native VCL implementation without need of external dlls. The PascalScript engine includes an optimizing byte code compiler and very fast interpreter. The PascalScript language is a dynamic Variant based script language that supports most of the Delphi Pascal expressions and statements like
    • procedure/function declarations
    • const/var/out parameters
    • global/local variables and constants.
    • Extended support of exception handling, e.g. raise, try-except and try-finally statements; real Delphi exceptions are raised internally that allow to test an exception class in handler, e.g. on E: EZeroDivide do.
    • The PascalScript CodeObject engine implements a secret interface (in addition to IDispatch) that allows very fast interoperations between connected script controls. Besides that execption processing can be made transparent between connected script controls.
    • Native script operators such as 'is', 'in', '@' and set constructors, e.g. [akLeft,akTop] allow to work with imported Delphi objects, instead of provided to ActiveX scripts special functions (e.g. SetMake, SetEmpty, ClassIs, EventMake, ect.). Like for the ActiveScripting based languages import units of your Pascal units can be created. Import units for the VCL are shipped with each copy of ScriptPack.
  • New three step initialization of ScriptPack Control. New Prepare, Open and Close methods and a State property was added. In addition the new 'Prepared' intermediate state was introduced. In this state all source code is already parsed, but no global code is executed yet (CodeObject is already acessible in this state). This new feature allows circular dependencies between script controls even in case when global code is used (hence handling several scripts at the same time is simplified enormously). In simple cases a call to Prepare method can be ommitted. Finally the ACloseOnRuntimeError parameter was added to the Open method to allow leaving script control opened in the case that runtime errors occured during global code execution.
  • New exception handling replaces Last ScriptError concept. Script control includes now the encoded source (reference to script control), error line and position information in exception messages (e.g. in string form). The LMDDecodeErrorMessageInfo procedure allows to decode this information for advanced applications.
  • New optimized Delphi memory manager proxy allows to detect finalized object destructions. E.g. all subsequent access to IDispatch object wrapper will report 'Object has been destroyed' exceptions instead of unsafe Access Violations. This feauture is especially used by working with exceptions in PascalScript, because exception objects are automatically destroyed by the interpreter.
  • New prepared expressions/statements feature was added to optimize Eval and ExecuteStatement methods. If the same expression/statement need to be executed many times then it is more efficient to Prepare it first and then use Eval and ExecuteStatement overloadeds methods that take prepared objects as parameters. Note: Most speed gain will be seen in native PascalScript implementation, because all other ActiveX script implementations do not support this feature internally.
  • New Create constructor and Copy method are implicitly generated in wrappers for Delphi record types to allow creating and copying records more naturally.