Tips and Frequently Asked Questions

 Saving/Loading compile code for scripter projects


When using standard Scripter component with a single script, you just need to call SaveCodeToFile and LoadCodeFromFile methods of scripter component to handle compiled code. When it comes to multi-script project using the Scripter Studio Pro engine, you must write extra code and save compiled code of all units (scripts). It's the same for loading: you must load compile code of all units. This is a pseudo-code example for saving compiled code:
for c := 0 to IDEEngine1.Files.Count - 1 do
begin
  if not IDEEngine1.Files[i].Script.Compiled then
    IDEEngine1.Files[i].Script.Compile;

  AUnitName := IDEEngine1.Files[i].Script.ScriptInfo.UnitName;
  IDEEngine1.Files[o].Script.SaveCodeToFile(ABasePath + AUnitName + '.code');
end;
To load the code, you just do the reverse. Pay attention to add directories to the search path where the compiled code is located, because scripter tries to load the compiled code for used units on the fly (if you load Unit1 and it uses Unit2, it tries to load Unit2 code by searching files in search path). Example:
with IDEScripter1 do
begin
  {By setting the LibOptions properties below, you just need to load the script code for the main unit}
  LibOptions.UseScriptFiles := true;
  LibOptions.SearchPath.Add(SomeSearchPath);
  LibOptions.CompiledFileExt := '.code';

  Scripts.Clear;
  {Load main unit only - the other units will be loaded on the fly based on the LibOptions settings}
  AddScript(slPascal).LoadCodeFromFile(ABasePath + MyMainUnitName + '.code');
  Execute;
end;


Pricing

Single Developer License Small Team License Site License
 

TMS Scripter


€ 190

60 yearly renewal
license for 1 developer


Includes
check  Full source code
check  Access to the TMS Support Center
check  Free updates and new releases
MOST POPULAR

TMS BIZ Premium


€ 595

180 yearly renewal
license for 1 developer


Includes
check  Full source code
check  Access to the TMS Support Center
check  Free updates and new releases
check  TMS Scripter
check  All TMS BIZ products
more_horiz  Discover more
BEST VALUE

TMS ALL-ACCESS


€ 1,795

575 yearly renewal
license for 1 developer


Includes
check  Full source code
check  Access to the TMS Support Center
check  Free updates and new releases
check  TMS Scripter
check  All TMS BIZ products
check  All TMS products
more_horiz  Discover more
All prices excl. VAT. Renewal price is subject to change and only valid up to 30 days after license has expired. After renewal period a discount price is offered to renew the license.

TMS ALL-ACCESS

key
Your unlimited access to all TMS products
local_offer
One money and time saving bundle

Free Trial

Start a free TMS Scripter evaluation today!
RAD Studio

What our customers say

Sorry to say that I regret about my Scripter purchase. I mean, I regret that I didn't purchase it before ;-) I implemented the routine I needed in my application in less than 4 hours, thanks to the excellent examples in documentation and available features. I'm even "scared" because everything worked in the very first time and every time this happens there is something really wrong "hidden" that only shows up when the application is running at the customer (one of the Murphy's Law). Congratulations.

- Natali Junior Samuel

I fell in love with this great product, it changed my opinion and my vision in programming. I am using it at least 12 hours per day and everyday I understand what a clean code you have used to make it ...thanks a lot.

- Mehrdad Esmaili

As a developer for 30+ years, and a Delphi developer since 1996, I've a solid foundation on desktop development. But I was skeptical of indulging in web development. Though the market was demanding a switch, it seemed too difficult to make the transition. TMS Software was my "magic bullet" to get me started with zero intimidation. Love their Web Core and XData products. Now I can develop powerful web applications using Delphi. TMS Software has renewed my love for Delphi and won my heart for their innovators. Thanks to the team for great products and a large volume of demos and manuals. You ROCK!

- Larry

In the past I have purchased other components from other parties. I will say proudly that TMS is the best in support, price and style. Whenever I need a help your team is always there to help me. Keep up the good work

- Mohamed Thooloon

Hi Bruno Just want to drop you a line about how great your presentation was today. We often fail to point out to someone when they do a great job! You did a great job, you gave me a lot of ideas, and you answered my question very well. THANK you for your great products & super support.

- Lawrence Green

TMS WEB Core

language
Create modern web apps in Delphi & VSC
build_circle
Use Object Pascal code to build JavaScript apps