FHannes Posted May 22, 2012 Share Posted May 22, 2012 (edited) 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 May 22, 2012 by Freddy Quote Link to comment Share on other sites More sharing options...
LordJashin Posted May 22, 2012 Share Posted May 22, 2012 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? Quote Link to comment Share on other sites More sharing options...
Janilabo Posted May 22, 2012 Share Posted May 22, 2012 What localized one? Huh?0,123 (loc.) = 0.123 (unloc.) Quote Link to comment Share on other sites More sharing options...
Velvet Glam Posted May 23, 2012 Share Posted May 23, 2012 Did u happen to look into that Appa bug I PMed you freddy?...with this release? Quote Link to comment Share on other sites More sharing options...
shadowrecon Posted May 23, 2012 Share Posted May 23, 2012 Looks good, I was wondering when TExtendedArray was going to get an alias like Tint ect =) Quote Link to comment Share on other sites More sharing options...