You can choose between different calendars if you like.
Quote from: Thaddy on January 02, 2020, 04:18:53 pmYou can choose between different calendars if you like. Well, by the Islamic calendar we are still in the 1440s so there is still a "little" time for a 2019 release
Any news on FPC 3.2?
Now it is already FebruaryI hope fpc3.2 comes soon.I spend today replacing arrays of strings with arrays of arrays in my project, and it became much faster, but now I notice, it does not compile with fpc 3.0 anymore :/
Can you post a small example?
Quote from: Thaddy on February 02, 2020, 10:24:15 amCan you post a small example?It was kind of like this:Code: Pascal [Select][+][-] program p;type TObjectArray = array of TObject;procedure testOld(a: array of string);begin //... for s in a do s.split(',') ...end;procedure testNew(a: array of TObjectArray);begin //...end;var x, y, a, b: tobject;begin testOld(['x,y','a,b']); testNew([[x,y],[a,b]])end.~
Well, in trunk this compiles, note array initialization in mode delphi and mode objectfpc are different:Code: Pascal [Select][+][-]program p;{$mode delphi}type TObjectArray = array of TObject;procedure testOld(a: array of string);begin //... for s in a do s.split(',') ...end;procedure testNew(a: array of TObjectArray);begin //...end;var x, y, a, b: tobject;begin testOld(['x,y','a,b']); testNew([[x,y],[a,b]])end.Of course I assume your trunk is reasonably up-to-date...
As a workaround you can use the Create constructor which is only available for named dynamic arrays (which your TObjectArray is):I did not know about that, but I rewrote it with a custom function
Quote from: TCH on January 17, 2020, 03:24:01 pmAny news on FPC 3.2?Some progress with the major blockers in the last weeks. No news about schedule.
The difference between the unreleased FIXES_3_2 branch and real releases is mostly just packaging. I would simply use a FIXES3_2 snapshot if I were you.