LMD ScriptPack Guide
Though LMD-ScriptPack supports the rich subset of Delphi language constructs, there are still some unsupported constructs (this is to some extent stipulated by limitations of scripting languages), which are described in the table below.
Untyped constants:
const
This problem can be fixed; LMD-ScriptPack Import Wizard provides additional field in the detail view, where you can assign a type for constant manually. |
Overloaded procedures, functions or methods with equal number of parameters:
procedure A(X: Integer); overload;
Note that overloaded procedures, functions or methods with different number of parameters are supported. So, for example, following overload methods group will be initially reported by LMD-ScriptPack Import Wizard as not supported:
procedure A(X: Integer); overload;
But, it can be partially supported by unchecking, for example, the first procedure. This is because, remaining two procedures has different number of parameters. |
Untyped const, var and out parameters:
procedure A(const X); |
Variant open array parameters:
procedure A(X: array of const); |
Procedural types declared without of object keywords:
type |
Pointer types:
type |
File types:
type |
Arrays:
type |
Interface types:
type |
Implicit unnamed types:
type
Here the (msElem1, msElem2) is an unnamed enumeration type. This code can be changed to fix the problem:
type |