Jump to content
FHannes

SCAR Divi 3.34 Final

Recommended Posts

The final version of SCAR Divi 3.34 has been released. This version includes a lot of new functions, tweaks and bugfixes, check the changelog for more details!

 

Downloads: http://www.scar-divi.com/index.php?page=download

 

Changelog:

Bugfixes:
- TPAUnique and TIAUnique didn't always return a unique array
- Script could not be stopped when paused
- When pausing on a breakpoint the editor showed 2 icons in the gutter instead of 1
- Preprocessor had issues with single characters on a line or between directives
- The filetype filters for the save dialog on the debug and report boxes were broken

Tweaks:
- TPAAppend now returns the index of the appended element
- TIAAppend now returns the index of the appended element
- RewriteFile, AppendFile and OpenFile now throw an error when a file can't be accessed
- SCAR now always uses a dot as decimal separator rather than the localized one

New:
- function TPAEmpty(const TPA: TPointArray): Boolean;
- function TPAInsert(var TPA: TPointArray; const Index: Integer; const Point: TPoint): Integer;
- function TIAEmpty(const TIA: TIntArray): Boolean;
- function TIAMax(const TIA: TIntArray): Integer; (Alias for AMax)
- function TIAMaxEx(const TIA: TIntArray; out Index: Integer): Integer;
- function TIAMin(const TIA: TIntArray): Integer; (Alias for AMin)
- function TIAMinEx(const TIA: TIntArray; out Index: Integer): Integer;
- function TIAInsert(var TIA: TIntArray; const Index, Int: Integer): Integer;
- procedure OffsetTIA(var TIA: TIntArray; const Offset: Integer);
- TExtArray = array of Extended; (Alias for TExtendedArray)
- function TEAInTEA(const TEA1, TEA2: TExtArray): Boolean;
- function TEAEmpty(const TEA: TExtArray): Boolean;
- procedure TEAUnique(var TEA: TExtArray);
- function TEAToStr(const TEA: TIntArray): string;
- function StrToTEA(const Str: string): TExtArray;
- function TEAContains(const TEA: TExtArray; const Ext: Extended): Boolean;
- function TEAPos(const TEA: TExtArray; const Ext: Integer): Integer;
- function TEAPosEx(const TEA: TExtArray; const Ext: Extended; const From: Integer): Integer;
- function TEADelete(var TEA: TExtArray; const Index: Integer): Integer;
- function TEAAppend(var TEA: TExtArray; const Ext: Extended): Integer;
- TStrArray = array of string (Alias for TStringArray)
- function CountStr(const SubStr, Str: string): Integer;

 

Enjoy!

 

~Freddy

Link to comment
Share on other sites

Thanks Freddy, looks great I have it installed, however I have problem using SRL with it. I checked out SRL from SVN and SCAR 3.34 does not recognize it in Includes.

I am sure I am doing something wrong and I would appreciate if someone could give me hint how to do this.

 

Also, it looks loke OSI and SRL functionalities overlap, do I even need SRL or I can just use OSI for coding scripts?

 

Cheers and Thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
  • Create New...