0% found this document useful (0 votes)
62 views4 pages

Pascal Script - RemObjects Software

RemObjects Pascal Script is a free scripting engine for Delphi that allows users to utilize Object Pascal within their projects at runtime. It enables customization of applications without recompilation, supports various programming constructs, and allows for the importing of classes and interfaces. The engine has evolved since its inception in 2001 and is used in projects like InnoSetup and Data Abstract for Delphi.

Uploaded by

digicport
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views4 pages

Pascal Script - RemObjects Software

RemObjects Pascal Script is a free scripting engine for Delphi that allows users to utilize Object Pascal within their projects at runtime. It enables customization of applications without recompilation, supports various programming constructs, and allows for the importing of classes and interfaces. The engine has evolved since its inception in 2001 and is used in projects like InnoSetup and Data Abstract for Delphi.

Uploaded by

digicport
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

18.12.

2014 Pascal Script | RemObjects Software

RemObjects Software
Trials Shop Support Company Login

RemObjects Pascal Script


The free scripting engine for Delphi

Pascal Script for Delphi


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. 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 started out as a
need for a good working script, when there were none available at the time.

Why use a scripting engine?


A scripting engine allows an end user to customize an application to his or her needs without having to recompile
it. 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.

Pascal Script includes the following features:

Variables, Constants
Standard language constructs:
Begin/End
If/Then/Else
For/To/Downto/Do

http://www.remobjects.com/ps.aspx 1/4
18.12.2014 Pascal Script | RemObjects Software

Case x Of
Repeat/Until
While
Uses
Exit
Continue
Break
Functions inside the script
Calling any external DLL function (no special function headers required)
Calling registered external methods
All common types like Byte, Shortint, Char, Word, SmallInt, Cardinal, Longint, Integer, String, Real, Double,
Single, Extended, Boolean, Array, Record, Enumerations, Variants
Allows the importing and use of classes, with events, properties, methods and constructors
Allows the importing and use of interfaces and their members
Allows IDispatch dynamic method invocation through Variant
Assignment of script functions to Delphi events
Uses byte code as an intermediate format and allows the storing and reloading of compiled scripts
Easy to use component version
Support for include files
Support for compiler defines
Capability to call RemObjects SDK Services from within scripts
Includes a tool to create headers for importing classes and interfaces

History
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). 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. With Pascal Script 3.0, this was changed
to a new model, where the compiler and runtime were completely separated from each other and used a custom
byte code format to represent the compiled script. This compiled script only contained the bare minimum that was
required to execute the code. Later, when Carlo Kok joined RemObjects, it was renamed RemObjects Pascal Script
and is now being maintained by RemObjects Software.
One prominent use of Pascal Script is the Open Source InnoSetup project. InnoSetup is a widely used setup

http://www.remobjects.com/ps.aspx 2/4
18.12.2014 Pascal Script | RemObjects Software

engine that uses Pascal Script as scripting engine to provide advanced scripting abilities during installation and
uninstallation. Using Pascal Script, users can customize almost all parts of the setup, add new wizard pages, call into
dlls to add advanced features and provide custom behavior and install conditions.

PascalScript is also leveraged extensively by our own Data Abstract for Delphi to provide business rules scripting.

Links
Read more about using Pascal Script here and an article on how to import new classes into the script engine
here .

Download Now
Pascal Script 3 is free and comes with full source code. Download a copy now from our Downloads page.
You can also access the latest version of PS directly from git:

Get the latest source and downloads for Pascal Script or participate in the development process and
contribute code to the project on github.

Visit https://github.com/remobjects/pascalscript for more information.

Download Pascal Script for Delphi


“November 2014”
Updated Friday, November 28, 2014
DOWNLOAD NOW!

Products Resources Shop Support Company


http://www.remobjects.com/ps.aspx 3/4
18.12.2014 Pascal Script | RemObjects Software

Data Abstract RemObjects TV New Users Standard Support About


Relativity Server RemObjects Radio Renewals Premium Support Team
RemObjects SDK Change Logs Shopping Cart RemObjects Talk Legal
Oxygene Events Reporting Bugs Contact
RemObjects C# Blogs Customer Portal
Twitter Your Orders Downloads
RemObjects Script Downloads Trial Downloads
Oxfuscator Documentation Betas Free Downloads
Hydra Data Abstract Wiki Forgot Your Password? Open Source Repos
Train Elements Wiki

RemObjects Software. The Infrastructure Company.


This Website is copyright © RemObjects Software, LLC 2002-2014. All rights reserved. Legal | About.
Data Abstract™, Relativity™, Oxygene™, Hydrogene™ and other product names and corresponding logos are
trademarks or registered trademarks of RemObjects Software, LLC. Read more.

This site is proudly powered by the Oxygene™ compiler and Data Abstract™.

http://www.remobjects.com/ps.aspx 4/4

You might also like