Problems with 1.4
I just installed v1.4 and got many problems, so that I had to return to 1.3.
First of all: Why did you change the type of errorpos to string? This makes no sens to me. In my application I use it to move the cursor to the position of the error in the script.
o.k. this was not a big problem to solve.
Another problem is, that you changed something with the uses of different scriptlanguages. I allways got exceptions and the scripts didn't work. After some debugging I found out that I had to include tfspascal into the uses list of my application, that it works. I couldn't find that in the release notes.
After solving this problem I got the next one.
The next problem is that there seems to be an incompatibility between the ilcode of 1.3 and 1.4.
In my application I store the ilcode of the scripts in a database, because of performance issues. Now, after installing 1.4 all stored scripts do not work.
After some testing with getting a lot of errors, I returned to v1.3
Now I am hoping, that there will be some corrections to 1.4 or a better dosumentation of the changes, so that I can adapt my applicatoin to get it work without stepping through the whole source of fastscript.
cu
Helmut
First of all: Why did you change the type of errorpos to string? This makes no sens to me. In my application I use it to move the cursor to the position of the error in the script.
o.k. this was not a big problem to solve.
Another problem is, that you changed something with the uses of different scriptlanguages. I allways got exceptions and the scripts didn't work. After some debugging I found out that I had to include tfspascal into the uses list of my application, that it works. I couldn't find that in the release notes.
After solving this problem I got the next one.
The next problem is that there seems to be an incompatibility between the ilcode of 1.3 and 1.4.
In my application I store the ilcode of the scripts in a database, because of performance issues. Now, after installing 1.4 all stored scripts do not work.
After some testing with getting a lot of errors, I returned to v1.3
Now I am hoping, that there will be some corrections to 1.4 or a better dosumentation of the changes, so that I can adapt my applicatoin to get it work without stepping through the whole source of fastscript.
cu
Helmut
Comments
3) of course IL code was changed, it's an internal FS stuff and may change in new versions. I never state about IL compatibility.
In the releasenotes there is a note about the languagesplitting
"* languages are splitted to components TfsPascal, TfsCPP, TfsJScript, TfsBasic"
but there is no word about the need to inlude fs_ipascal in the uses list of the application.
The compiler even doesn't tell me that there is somthing wrong. I had to look into the source, why my script doesn't understand pascal. Then I saw the initialization section of fspascal.
For the compatibility of the il code: it would be great if you tell it in the release notes if there is an incombatibility with the ilcode of the previous version.
Than I hav to make a conversion of all scripts, as I safe them in a database as ilcode.
Another problem I decovered in conjunction with tchart6.5 I get an error when compiling fastscript package I get an error in the unit fs_ichartrtti.pas
AddClass(TChartBrush, 'TBrush');
Error: unknown identifier TChartBrush
As a workaround I remove this line, but I think this could not be the solution.
cu
Helmut
Regarding TeeChart: I have only version shipped with Delphi, so I can't test FS with TeeChart Pro (but I was thinking they are fully compatible). I guess you can just comment out that line.