Using Scriptol from MSDev or Visual Studio



Adding the scriptol compiler to the Tools menu
Using the scriptol compiler
Compatibility


Adding the scriptol compiler to the Tools menu


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

 Fill the fourth fields:
 Menu Text:
    Scriptol
 Command:
    [scriptol path] solc.exe
 Arguments:
    -c $(FileName)
 Initial Directory:
     $(FileDir)

 The variables $(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


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