TProgram vs TProgramInfo

Issue #22 new
Former user created an issue

Hi, I debugged the DWScript code I downloaded and compiled it for Delphi XE5.

Now I've run into an issue as I'm integrating it into GL Scene for 3D text.

Original code in GLScene created a TProgram: FDWS2Program : TProgram; new code: FDWS2Program : TProgramInfo;

Issue on line 238 TGLScriptDWS2.Compile: original code: FDWS2Program:=Compiler.Compile(Text.Text)

What code in TProgramInfo can a compiled program be assigned to and how?

semi-updated file attached...

Comments (3)

  1. Joseph Poirier

    changed some of the dwscript commands... went with general {$if compilerversion >= 16.0} on all {$ifdef ver230} checks... now the dwscript demos are usable... asmExtension demo throws an error... [Syntax Error: NASM call failed with error 2] unable to test mandlebrotJS... missing some supporting library [ces] all others perform as expected.

    Moved all dwscript library files into the project folders [Library] root and removed library type subfolders... this was to make it easier to copy the [.dcu and .dfm] files to my [Public Documents\RAD Studio\Delphi Version\DCP] folder after building and installing, so they could be accessed for debug information.

  2. Joseph Poirier

    Eric, I was looking at your GLFlow video on you tube... nice work by the way... Is there a GLScene package that is compatible already with dwscript2.2 or did you have to use an older version of dwscript with that and which one?

    In the GLS_DWS_VCL package there are dws classes, dws vector geometry and dws Helper functions... should these items be rolled into dwscript? Any thoughts?

  3. Log in to comment