# Pascal Script

**URL:** https://talk.remobjects.com/c/pascal-script/9.md

[Latest](https://talk.remobjects.com/latest.md) · [Categories](https://talk.remobjects.com/categories.md) · [Tags](https://talk.remobjects.com/tags.md)

---

## [Issue with the datatype of Date and Datetime returned from sql query were different](https://talk.remobjects.com/t/issue-with-the-datatype-of-date-and-datetime-returned-from-sql-query-were-different/32176)

<div class="topic-metadata">

**Author:** [@spriya](https://talk.remobjects.com/u/spriya)\
**Replies:** 2\
**Last updated:** [September 15, 2025, 11:34am UTC](https://talk.remobjects.com/t/issue-with-the-datatype-of-date-and-datetime-returned-from-sql-query-were-different/32176 "2025-09-15T11:34:43Z")

</div>

Hi, In Delphi 11, when the datetime type field was attempted to be returned as a date from a SQL query, it was returned as “ftwidestring.” The value was null as a result, and the variable could not be used in other quer…

---

## [Problem with Index specifiers in format function](https://talk.remobjects.com/t/problem-with-index-specifiers-in-format-function/31451)

<div class="topic-metadata">

**Author:** [@spriya](https://talk.remobjects.com/u/spriya)\
**Replies:** 34\
**Last updated:** [July 22, 2025, 7:43pm UTC](https://talk.remobjects.com/t/problem-with-index-specifiers-in-format-function/31451 "2025-07-22T19:43:54Z")

</div>

Good Day, Using Index specifiers for format results in exception. Ex: format(abc.link(“%0:s”),\[‘temp’\]) results in error so we changed the LOC to format(abc.link(“%s”),\[‘temp’\])

---

## [Program shutting down if exception raised in Pascal Script for Delphi in 64-bit](https://talk.remobjects.com/t/program-shutting-down-if-exception-raised-in-pascal-script-for-delphi-in-64-bit/29625)

<div class="topic-metadata">

**Author:** [@fredrik1](https://talk.remobjects.com/u/fredrik1)\
**Replies:** 9\
**Last updated:** [October 27, 2024, 9:11am UTC](https://talk.remobjects.com/t/program-shutting-down-if-exception-raised-in-pascal-script-for-delphi-in-64-bit/29625 "2024-10-27T09:11:43Z")

</div>

Hi We have been using Pascal Script for more than 20 years with great success. Recently we have started providing a 64-bit version of our program. After some help from Remobjects we got Pascal Script to work on 64 bit …

---

## [Calling a specific function from pascal script](https://talk.remobjects.com/t/calling-a-specific-function-from-pascal-script/30877)

<div class="topic-metadata">

**Author:** [@\_Koncz\_Timea](https://talk.remobjects.com/u/_Koncz_Timea)\
**Replies:** 3\
**Last updated:** [October 3, 2024, 8:52am UTC](https://talk.remobjects.com/t/calling-a-specific-function-from-pascal-script/30877 "2024-10-03T08:52:08Z")

</div>

Hi, We have a desktop app and we are using Pascal Script for different events, for example on opening a menu, opening a record, record change, field change, etc. For all this events we have one or more pascal scripts, w…

---

## [PascalScript Help](https://talk.remobjects.com/t/pascalscript-help/30015)

<div class="topic-metadata">

**Author:** [@dickmaley](https://talk.remobjects.com/u/dickmaley)\
**Replies:** 1\
**Last updated:** [July 20, 2024, 7:47pm UTC](https://talk.remobjects.com/t/pascalscript-help/30015 "2024-07-20T19:47:37Z")

</div>

I downloaded the most recent version of pascalscript from github. The help directory has a \*.dox file. How do I open this? Where can I find help on pascalscript? Thank you. Richard Maley

---

## [Access Violation while retrieving Sql query text in 64-Bit](https://talk.remobjects.com/t/access-violation-while-retrieving-sql-query-text-in-64-bit/29941)

<div class="topic-metadata">

**Author:** [@spriya](https://talk.remobjects.com/u/spriya)\
**Replies:** 12\
**Last updated:** [July 8, 2024, 10:07am UTC](https://talk.remobjects.com/t/access-violation-while-retrieving-sql-query-text-in-64-bit/29941 "2024-07-08T10:07:20Z")

</div>

Hi, I am facing the AV issue while returning a string from the function, where the function is producing a SQL Query. While trying to add values to object. Tried with latest files. In the First scenario , am trying …

---

## [Function returning record was not working in Delphi Pascal script](https://talk.remobjects.com/t/function-returning-record-was-not-working-in-delphi-pascal-script/29850)

<div class="topic-metadata">

**Author:** [@spriya](https://talk.remobjects.com/u/spriya)\
**Replies:** 18\
**Last updated:** [June 27, 2024, 9:57am UTC](https://talk.remobjects.com/t/function-returning-record-was-not-working-in-delphi-pascal-script/29850 "2024-06-27T09:57:10Z")

</div>

Hi, AM currently using records in delphi. While executing the script which returns the record form script to delphi function, the function was not being called even though it was registered. Am testing for delphi 64-bi…

---

## [Array of const](https://talk.remobjects.com/t/array-of-const/1627)

<div class="topic-metadata">

**Author:** [@nomorelogic](https://talk.remobjects.com/u/nomorelogic)\
**Replies:** 9\
**Last updated:** [May 14, 2024, 7:44am UTC](https://talk.remobjects.com/t/array-of-const/1627 "2024-05-14T07:44:20Z")

</div>

---

## [Null pointer Exception in Pascal Script for Delphi in 64-bit](https://talk.remobjects.com/t/null-pointer-exception-in-pascal-script-for-delphi-in-64-bit/28631)

<div class="topic-metadata">

**Author:** [@Shanthi\_Pakkela](https://talk.remobjects.com/u/Shanthi_Pakkela)\
**Replies:** 62\
**Last updated:** [November 15, 2023, 1:42pm UTC](https://talk.remobjects.com/t/null-pointer-exception-in-pascal-script-for-delphi-in-64-bit/28631 "2023-11-15T13:42:39Z")

</div>

I was using Pascal Script in Delphi 11. With 32-bit version , it was good and i got the o/p as expected. When it comes to 64-bit am getting Null pointer exception in a particular function “function TPSScript.Execute: Boo…

---

## [Debugging Script in Inno Setup](https://talk.remobjects.com/t/debugging-script-in-inno-setup/27396)

<div class="topic-metadata">

**Author:** [@russellweetch](https://talk.remobjects.com/u/russellweetch)\
**Replies:** 6\
**Last updated:** [October 24, 2022, 8:41pm UTC](https://talk.remobjects.com/t/debugging-script-in-inno-setup/27396 "2022-10-24T20:41:35Z")

</div>

I am trying to debug a script in Inno Setup but when I hover the cursor over a variable it doesn’t show the value. Is there something I need to set for this? Thanks.

---

## [Access violation on Windows 64 bit](https://talk.remobjects.com/t/access-violation-on-windows-64-bit/26999)

<div class="topic-metadata">

**Author:** [@Sindre](https://talk.remobjects.com/u/Sindre)\
**Replies:** 15\
**Last updated:** [November 9, 2022, 1:38pm UTC](https://talk.remobjects.com/t/access-violation-on-windows-64-bit/26999 "2022-11-09T13:38:37Z")

</div>

We use Pascalscript extensively in our software. Even though I know it’s an unsupported product, I’ll explain the problem we run into when trying to run our software on 64 bit Window. Basically we allow customization of…

---

## [TClientDataSet with Pascal Script](https://talk.remobjects.com/t/tclientdataset-with-pascal-script/25342)

<div class="topic-metadata">

**Author:** [@lsuarez](https://talk.remobjects.com/u/lsuarez)\
**Replies:** 1\
**Last updated:** [September 14, 2021, 8:36am UTC](https://talk.remobjects.com/t/tclientdataset-with-pascal-script/25342 "2021-09-14T08:36:22Z")

</div>

Hello, there is a way to use TClientDataSet with Pascal Script?

---

## [Are global strings initialized with ""?](https://talk.remobjects.com/t/are-global-strings-initialized-with/24937)

<div class="topic-metadata">

**Author:** [@bobokonijn](https://talk.remobjects.com/u/bobokonijn)\
**Replies:** 2\
**Last updated:** [June 16, 2021, 9:14am UTC](https://talk.remobjects.com/t/are-global-strings-initialized-with/24937 "2021-06-16T09:14:31Z")

</div>

Hello Remobjects team, I’m using Inno Setup which incorporates Pascal Script. I’d like to know if globally declared strings (outside of procedures) are empty by default or if they contain random bytes? And what about o…

---

## [Type Mismatch when calling a function](https://talk.remobjects.com/t/type-mismatch-when-calling-a-function/24713)

<div class="topic-metadata">

**Author:** [@sebastian1](https://talk.remobjects.com/u/sebastian1)\
**Replies:** 0\
**Last updated:** [May 7, 2021, 5:49am UTC](https://talk.remobjects.com/t/type-mismatch-when-calling-a-function/24713 "2021-05-07T05:49:12Z")

</div>

Hello, I am currently writing Pascal Script code for usage in Inno Setup. Inno provides a function called FmtMessage to format a string. It is defined as function FmtMessage(const S: String; const Args: array of Strin…

---

## [Replace an already registered function](https://talk.remobjects.com/t/replace-an-already-registered-function/24332)

<div class="topic-metadata">

**Author:** [@r\_kaiser](https://talk.remobjects.com/u/r_kaiser)\
**Replies:** 1\
**Last updated:** [March 5, 2021, 1:18pm UTC](https://talk.remobjects.com/t/replace-an-already-registered-function/24332 "2021-03-05T13:18:09Z")

</div>

Is it possible to replace a function? Background: The compiler registers some functions (e.g. “LowerCase”) that use the data type “AnyString”. This datatype causes problems when it ist assigned to a “Variant” variable. …

---

## [Access violation calling function with parameters](https://talk.remobjects.com/t/access-violation-calling-function-with-parameters/23438)

<div class="topic-metadata">

**Author:** [@cameron](https://talk.remobjects.com/u/cameron)\
**Replies:** 3\
**Last updated:** [December 1, 2020, 10:15am UTC](https://talk.remobjects.com/t/access-violation-calling-function-with-parameters/23438 "2020-12-01T10:15:19Z")

</div>

I have upgraded an old 32 bit app into 64bit. I am having trouble running imported functions that have parameters. To test I have used the Unit Importer to import 3 test functions shown below. The first function has n…

---

## [Jupyter notebook kernel for Pascal?](https://talk.remobjects.com/t/jupyter-notebook-kernel-for-pascal/18698)

<div class="topic-metadata">

**Author:** [@dobedani](https://talk.remobjects.com/u/dobedani)\
**Replies:** 5\
**Last updated:** [September 25, 2020, 2:19pm UTC](https://talk.remobjects.com/t/jupyter-notebook-kernel-for-pascal/18698 "2020-09-25T14:19:41Z")

</div>

Hi there! Are there any plans to develop a Jupyter notebook kernel for Pascal? See also: https://forum.lazarus.freepascal.org/index.php?topic=38955.0 Kind regards, Steven

---

## [Pascal Script and DataAbstract on Delphi](https://talk.remobjects.com/t/pascal-script-and-dataabstract-on-delphi/20256)

<div class="topic-metadata">

**Author:** [@Armindo\_DA\_SILVA](https://talk.remobjects.com/u/Armindo_DA_SILVA)\
**Replies:** 2\
**Last updated:** [September 6, 2019, 12:15pm UTC](https://talk.remobjects.com/t/pascal-script-and-dataabstract-on-delphi/20256 "2019-09-06T12:15:10Z")

</div>

Hi, I have DataAbstract Installed on Delphi. I would like to Test Pascal Script, and If I’m not wrong RO and DA use PAscal Scripting Also. So my question is : Should I install Pascal Script Packages or not to use it. …

---

## [Importer for newer Delphi versions?](https://talk.remobjects.com/t/importer-for-newer-delphi-versions/17485)

<div class="topic-metadata">

**Author:** [@r\_kaiser](https://talk.remobjects.com/u/r_kaiser)\
**Replies:** 0\
**Last updated:** [September 25, 2018, 9:31am UTC](https://talk.remobjects.com/t/importer-for-newer-delphi-versions/17485 "2018-09-25T09:31:12Z")

</div>

Hallo, we are currently importing a lot of classes to pascal script. A lot of these units are using USES lists with qualified unit names (containing dots). For that units the importer fails. For some of the unit we can …

---

## [Delphi 6 Install Guide on old http://wiki.remobjects.com/wiki](https://talk.remobjects.com/t/delphi-6-install-guide-on-old-http-wiki-remobjects-com-wiki/17024)

<div class="topic-metadata">

**Author:** [@pmayes](https://talk.remobjects.com/u/pmayes)\
**Replies:** 2\
**Last updated:** [July 25, 2018, 7:00am UTC](https://talk.remobjects.com/t/delphi-6-install-guide-on-old-http-wiki-remobjects-com-wiki/17024 "2018-07-25T07:00:52Z")

</div>

Hi Guys, I am trying to access this guide: http://wiki.remobjects.com/wiki/Install\_into\_Delphi\_6 It redirects to: https://docs.remobjects.com/docs But the docs.remobjects.com site is not working. (This site cannot b…

---

## [How to call a Method in a String at Runtime?](https://talk.remobjects.com/t/how-to-call-a-method-in-a-string-at-runtime/16495)

<div class="topic-metadata">

**Author:** [@Klaus.Meier](https://talk.remobjects.com/u/Klaus.Meier)\
**Replies:** 6\
**Last updated:** [May 25, 2018, 2:00pm UTC](https://talk.remobjects.com/t/how-to-call-a-method-in-a-string-at-runtime/16495 "2018-05-25T14:00:11Z")

</div>

Hello, I would like to call a Method, which is entered by the user into a string at runtime. Looks like this: MyStr := ‘ShowMessage(’‘Hello’’)’; Execute (MyStr); How can this be achieved? Greetings klaus

---

## [Debug Code](https://talk.remobjects.com/t/debug-code/13977)

<div class="topic-metadata">

**Author:** [@elcilei](https://talk.remobjects.com/u/elcilei)\
**Replies:** 4\
**Last updated:** [August 18, 2017, 9:31pm UTC](https://talk.remobjects.com/t/debug-code/13977 "2017-08-18T21:31:28Z")

</div>

Good Morning, I am developing a program using pascal script. I created a simple idea for debugging. My question is: is there a possibility in this ide to run the program and debug. Same as Delphi does, while executing p…

---

## [Register a type alias?](https://talk.remobjects.com/t/register-a-type-alias/13353)

<div class="topic-metadata">

**Author:** [@r\_kaiser](https://talk.remobjects.com/u/r_kaiser)\
**Replies:** 2\
**Last updated:** [June 16, 2017, 1:00pm UTC](https://talk.remobjects.com/t/register-a-type-alias/13353 "2017-06-16T13:00:18Z")

</div>

Hi, the name of a class that we use in our scripts had changed (different classname now). Since we do not want to change all scripts: Is it possible to register an alias for a class? The script would use TOriginalC…

---

## [Supported platforms?](https://talk.remobjects.com/t/supported-platforms/13256)

<div class="topic-metadata">

**Author:** [@brian71us](https://talk.remobjects.com/u/brian71us)\
**Replies:** 2\
**Last updated:** [June 2, 2017, 2:29pm UTC](https://talk.remobjects.com/t/supported-platforms/13256 "2017-06-02T14:29:41Z")

</div>

Hello, Will Pascal Script and ASQLite3 from the repository work on all of the platforms supported by Delphi yet? Thank you, Brian Wheatley

---

## [Sharing registered classes between instances of pascalscript](https://talk.remobjects.com/t/sharing-registered-classes-between-instances-of-pascalscript/12069)

<div class="topic-metadata">

**Author:** [@larkone](https://talk.remobjects.com/u/larkone)\
**Replies:** 5\
**Last updated:** [March 28, 2017, 6:45am UTC](https://talk.remobjects.com/t/sharing-registered-classes-between-instances-of-pascalscript/12069 "2017-03-28T06:45:35Z")

</div>

Hello, is it possible to register classes(and methods,properties etc.) to script and share it with other instancies of script? I've got 10 instancies with same registered classes and methods so im finding way to share it…

---

## [Help a confused newbie please :)](https://talk.remobjects.com/t/help-a-confused-newbie-please/12533)

<div class="topic-metadata">

**Author:** [@tobygroves](https://talk.remobjects.com/u/tobygroves)\
**Replies:** 1\
**Last updated:** [March 25, 2017, 1:55pm UTC](https://talk.remobjects.com/t/help-a-confused-newbie-please/12533 "2017-03-25T13:55:47Z")

</div>

Hi all, Trying to get to grips with this and the basic concepts are fine but I'm struggling to wrap my head around how I can access certain classes and component types outside the script. Basically the script will ru…

---

## [Pascal Script Importer for XE6?](https://talk.remobjects.com/t/pascal-script-importer-for-xe6/12527)

<div class="topic-metadata">

**Author:** [@tobygroves](https://talk.remobjects.com/u/tobygroves)\
**Replies:** 5\
**Last updated:** [March 24, 2017, 12:03pm UTC](https://talk.remobjects.com/t/pascal-script-importer-for-xe6/12527 "2017-03-24T12:03:58Z")

</div>

Hi, I'm trying to get to grips with Pascal Script but there doesn't appear to be a download for it on RO's website any longer. I've grabbed it from Git but the included importer appears ancient and won't compile with…

---

## [DLL: Registering Functions](https://talk.remobjects.com/t/dll-registering-functions/11403)

<div class="topic-metadata">

**Author:** [@Klaus.Meier](https://talk.remobjects.com/u/Klaus.Meier)\
**Replies:** 1\
**Last updated:** [November 24, 2016, 2:49pm UTC](https://talk.remobjects.com/t/dll-registering-functions/11403 "2016-11-24T14:49:04Z")

</div>

Hello, I am thinking about a kind of Plugin System to extend the Script-functions without recompiling the Application. My Idea is, during the startup, the programm scans a folder and registers all found DLLs. (Each DLL…

---

## [How to check if a variable exists or has been shared from the main program](https://talk.remobjects.com/t/how-to-check-if-a-variable-exists-or-has-been-shared-from-the-main-program/10996)

<div class="topic-metadata">

**Author:** [@Juan\_C.Cilleruelo](https://talk.remobjects.com/u/Juan_C.Cilleruelo)\
**Replies:** 4\
**Last updated:** [November 18, 2016, 5:25pm UTC](https://talk.remobjects.com/t/how-to-check-if-a-variable-exists-or-has-been-shared-from-the-main-program/10996 "2016-11-18T17:25:07Z")

</div>

From Delphi I call, recursively, a PascalScript. The second call and so on, I call the PascalScript, the variables shared with the scripts are all here, because they are the ones of the Parent object. My problem become…

---

## [Is it possible uses in script?](https://talk.remobjects.com/t/is-it-possible-uses-in-script/11155)

<div class="topic-metadata">

**Author:** [@Kamillio](https://talk.remobjects.com/u/Kamillio)\
**Replies:** 1\
**Last updated:** [November 8, 2016, 6:51am UTC](https://talk.remobjects.com/t/is-it-possible-uses-in-script/11155 "2016-11-08T06:51:33Z")

</div>

How can I handle uses in script? When I handle the OnFindUnknownFile of the TPSScript I get AV "Invalid pointer operation". Doing I something wrong or it is a bug?

[Next page](https://talk.remobjects.com/c/pascal-script/9.md?page=1)
