Using Scriptol From Turbo Explorer C++


Adding the scriptol compiler to the Tools menu

- Open the Tools menu, then click on "Configure Tools" to open the dialog box.
- Click on the Add button.
- Click on Browse and search for the solc.exe Scriptol compiler.

Fill the fourth fields:
Title: Scriptol
Program: [scriptol path] solc.exe
Working directory: c:\cbuilder\projects (this is just an example)
Parameters: -c $EDNAME (this variable is picked up in the popup list).

Using the Scriptol compiler

Create a new file as text (it is created with the txt extension), select the "save as" command in the File menu. Choose the any file option (this prevents the dialog box to add an extension), save your source as xxxx.sol in the same directory that the solc.exe program (you can copy it in any directory, along with headers provided in the archive).

Select Tools and then Scriptol at bottom of the menu.
The xxx.sol file will be compiled to xxx.cpp
You have then to add the xxx.cpp file to your project.

Compatibility

If the Scriptol source code requires the Scriptol library compatible with your C++ compiler.
A library is furnished for MingW, Borland C++ 5.5, Visual C++ and GCC.
All C++ files of your project are compiled with the compiler specified in the global solc.ini configuration file or the specific .cfg configuration file.

Getting the software

You can download Turbo Explorer C++ from the dedicated website.

The free Borland C++ 5.5 compiler is available at Code Gear.
This is a complete C++ compiler with support for Open GL. It may compile project files generated by the C++ Builder RAD tools. (but has no vcl, clx or such other components).




www.scriptol.com