What's new in Precision Delphi Script Lite 1.9

Feb 27, 2013
  • added - Conditional defines (support for DEFINE, UNDEF, IFDEF, IFNDEF, ELSE, ENDIF directives)
  • added - Simple distribution model scenario (if pdScript.exe file is renamed to "xyz.exe" and distributed along with "xyz.dpas" script, then "xyz.dpas" is executed automatically after running "xyz.exe" without parameters)
  • added - Support for the following new classes, components, events, properties and routines:
  • TMetafile and TMetafileCanvas classes
  • TPrinter object
  • TSplitter and TStringGrid components support
  • TForm.OnMouseWheel event
  • TScrollBox.OnCanResize and TScrollBox.OnMouseWheel events
  • TScrollBar.IsScrollBarVisible property
  • OnMouseEnter and OnMouseLeave events has been added to a lot of controls
  • LoadLibrary, FreeLibrary, GetProcAddress and a other system routines
  • EncodeStream and DecodeStream routines
  • GetCurrentLangCode and GetCurrentCountryCode routines
  • added - Include directives can contain asterisks now. For example: In {$I *.xyz} directive, asterisk is replaced with the current script filename (without an extension). If ScriptLangCode is specified (ie. it is not empty) then asterisk is replaced with the current script filename plus language code value (ie. myscript.cs.dpas) first.
  • added - Overloaded Execute_pdScriptFunction routine has been added to pdScriptAPI.pas unit, to support execution of simple procedures and functions (without parameters) from within previously executed scripts
  • added - New sample scripts (FileStreamDemo, HostInterface, OLE, BuildDemo)
  • improved - host-interface pointer reference is now accessible through GetVariable('HostInterface') function
  • fixed - OnCloseQuery and OnClose events has been fired twice in some situation on Vista and newer
  • fixed - THTTPSend declaration. Wrong ancestor was declared, so TObject members (like Free) were not accessible
  • fixed - Execute and Update methods of TAction class are now available for execution from the code
  • fixed - TWinControl.CanFocus method does not cause "Access violation..." anymore
  • and other minor improvements and fixes