Using Scriptol from MSDev or Visual Studio






Adding the scriptol compiler to the Tools menu

- Open the Tools menu, then click on "Customize" to open the dialog box.
- Click on the Add button.
- Click on Browse and search for the solc.exe Scriptol compiler (c:\scriptolc).

Fill in the four fields:
Variables in the form $(xxx) are picked up from the popup list.
Thick the option: "Redirect to Output Window".

Using the Scriptol compiler

Create a new file, save it as xxxx.sol in the same directory that the solc.exe program (you can copy it in any directory, along with library and 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

The scriptol source will be assembled with the "libsolms.lib" library, compatible with Visual C++.
All C++ files of your project are compiled with the options specified in the global solc.ini configuration file of the specific .cfg configuration file, it must have the name of the main source file.


www.scriptol.com