![]() Version 2.0 interpreted scripts while it ran them, which had the disadvantage that every piece of code had to be reparsed every time the script engine went over it. Pascal Script started out in 2001 with CajScript 1.0, which was soon superseded by CajScript 2.0 (later called Innerfuse Pascal Script 2.0). ![]() Includes a tool to create headers for importing classes and interfaces Uses byte code as an intermediate format and allows the storing and reloading of compiled scriptsĬapability to call RemObjects SDK Services from within scripts Pascal Script includes the following features:Ĭalling any external DLL function (no special function headers required)Īll common types like Byte, Shortint, Char, Word, SmallInt, Cardinal, Longint, Integer, String, Real, Double, Single, Extended, Boolean, Array, Record, Enumerations, VariantsĪllows the importing and use of classes, with events, properties, methods and constructorsĪllows the importing and use of interfaces and their membersĪllows IDispatch dynamic method invocation through VariantĪssignment of script functions to Delphi events In addition, you can update your applications by just sending a new script file that could even be compiled to byte code, which cannot easily be transformed back to source code. Why use a scripting engine?Ī scripting engine allows an end user to customize an application to his or her needs without having to recompile it. Pascal Script started out as a need for a good working script, when there were none available at the time. Written completely in Delphi, it is composed of a set of units that can be compiled into your executable, eliminating the need to distribute any external files. Pascal Script is a free scripting engine that allows you to use most of the Object Pascal language within your Delphi or Free Pascal projects at runtime. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |