CodeSnip v4.17.0 released

I've just release CodeSnip v4.17.0.

This release belatedly adds support for test compiling snippets with Delphi 10.2 Tokyo, Delphi 10.3 Rio and Delphi 10.4 Sydney compilers.

You can download both the standard and portable editions from either GitHub or SourceForge.

Since I don't have any of these compilers I've not been able to check the code, so I'd be grateful if anyone can give me some feedback.

Also, if anyone test compiles the coed in the DelphiDabbler Code Snippets Database in any of those compilers, or Delphi 10 Seattle or 10.1 Berlin for that matter, please do send your results and I'll update the database.



  1. I tried the first 3 snipppets "AppendByteArray", ArrayToStringList" and "ByteArraysEqual" with Delphi 10 to 10.4. All compile fine with dcc32.exe.
    You should add an additional option for the 64 bit compiler for Delphi XE2 and above.

    Is there any way I can run the tests for all snippets in the database in one go and get the results in a format that I can send to you? I am not going to click on each snippet for that, but I would be willing to run them through all compilers I have installed: Delphi 6 to 10.4 (with the exception of Delphi 8).

  2. Hi twm

    Thanks for your comment.

    You can generate a unit inside CodeSnip of any selection or all the snippets and compile that. There's an option on the File menu to do that and a tool button near the left edge of the toolbar.

    There's one problem tho, which is if one snippet fails, the whole unit fails and that snippet would need excluding before carrying on.

    Any info you can prove I'd be grateful for.

    I've also get some DUnit tests somewhere or other for a few Snippets that I haven't used for years. I'll try to track them down and post a link. I really should publicise them!!

    Finally, you've given me an idea for a bulk testing feature for CodeSnip. I understand why you don't want to click on each of the hundreds of snippets: I've done that often enough in the past.


  3. TWM: I've made the unit tests I referred to above available. See my new post


Post a Comment

Popular posts from this blog

CodeSnip HotFix v4.17.2 released

Unit Tests for the Code Snippets Database