Jump to content
FHannes

SCAR Divi 3.34 Beta

Recommended Posts

As mentioned previously in the roadmap, this version won't be a huge update as my finals are coming up. I'll be releasing the final version somewhere this week though, as I'd like to get a head start on developing 3.35, to be able to stick to my monthly release schedule despite my finals. This build contains a few more new functions which are all also documented in the wiki and there's also a few bugfixes.

 

Regular: http://svn.scar-divi.com/scar/

Portable: http://svn.scar-divi.com/scar_portable/

 

Setup instructions: http://forums.scar-divi.com/showthread.php?505-Downloading-SCAR-Divi-Prerelease

 

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

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 TEAInTEA(const TEA1, TEA2: TExtArray): Boolean;
- 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 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;
- TStrArray = array of string (Alias for TStringArray);
- function CountStr(const SubStr, Str: string): Integer;

 

Enjoy :)

 

~Freddy

Edited by Freddy
Link to comment
Share on other sites

I can't believe it, you added a new section just for code. Looking good Freddy, haven't been active have exams coming up...

 

- RewriteFile, AppendFile and OpenFile now throw an error when a file can't be accessed

 

Cool

 

- SCAR now always uses a dot as decimal separator rather than the localized one

 

What localized one? Huh?

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...