News for 2013

Several new environment variable snippets added to Code Snippets Database
Numerous new snippets have been added to the Code Snippets Database that can get, set and delete environment variables, get the size of a process' environment block and notify other programs of changes made to the environment variables in the registry.
15 July 2013
CodeSnip 4.6.3 released. More IE 10 related bug fixes
This release is another attempt to a similar bug to that dealt with by CodeSnip 4.6.1 where floating point errors were being reported when displaying items in the main page. This time I've completely revised the code that displays information in the details pane to avoid the call into the web browser control that seemded to be causing the problems when IE 10 is installed. This is an intermitant bug, so lets hope it's finally fixed. Please let me know either way by commenting on the bug report at, mentioning that you're using v4.6.3.
14 July 2013
Two new snippets added to Code Snippets Database
Two new snippets based on code provided by new contributor Johan Keizer have been added to the System category of the Code Snippets database. They are SysUserErrorMessage and GetErrorMessageWithId.
09 July 2013
CodeSnip 4.6.2 released. Possible fix for Windows 8 bug.
This is a tentative fix for a bug reported for CodeSnip running on Windows 8 that I can't reproduce. I hope it works, but I'm relying on feedback from Windows 8 users to let me know either way. Please leave feedback on whether it works or not as comments on the bug report at It's just as useful to know if it works as it is if the bug's still there. It would also be useful to know what the last good working version on Windows 8 is.
09 July 2013
CodeSnip v4.6.1 - fix for IE 10 related bug
As I promised in the previous news item I've now released a patch for CodeSnip 4.6 - v4.6.1 - that attempts to fix a floating point bug that's been reported on some systems with CodeSnip 4. I've never been able to replicate the bug but, from the minimal information given in the bug report, it seems to similar to the IE 10 related problem that v3.12.1 fixes for CodeSnip 3. So, I've applied a similar patch for CodeSnip in the hope it fixes the problem. You are recommended to apply this update ASAP.
01 July 2013
CodeSnip 3.12.1 released - fixes major bug with IE10.
The arrival of Internet Explorer 10 has stopped CodeSnip v3.x working for some users. v3.12.1 fixes this problem and should allow you to continue using CodeSnip 3. If you don't want to update to v4, please update to v3.12.1 immediately. A similar bug has been reported, albeit very sketchily, for CodeSnip 4 portable. Although I can't replicate the bug I will be releasing a patch to v4 very soon that is similar to the one in v3.12.1 just in case.
01 July 2013
Released v0.5 beta of the Online Code Snippets Database "Take 2"
This new release of Code Snippets Database "Take 2" is a major step forward in that it finally implements the functionality of the "Generate Unit" button. Snippets that have been "pinned" can now be included a compilable unit that is displayed in the main displayed. You need to copy and paste the unit into a suitably named file. *** NOTE ** there a lot of changes to way the app is implemented in this release - you may need to force a full refresh or clear your browser's cache if the display is corrupted.
01 July 2013
SWAG Database updated again to v0.3 beta.
The online SWAG Pascal Database viewer application has been updated once more. This new release, v0.3 beta, adds support for caching snippets to reduce the number of round trips to the web service that are required. The first time you access a snippet it is fetched from the web service. Selecting the same snippet again will fetch it from the local cache, subject to the cache not being full. This release also fixes a nasty bug that was slowing down loading snippets etc from the web service once a few tens of snippets had been selected. The app's JavaScript code is now compatible with JSLint.
27 June 2013
SWAG Database updated to v0.2 beta
The online SWAG Pascal Database viewer application has been updated to v0.2 beta. This release adds syntax highlighting to all SWAG snippets that are flagged as being source code. Entries flagged as plain text are not highlighted.
16 June 2013
Online Code Snippets Database "Take 2" updated to v0.4 beta
"Code Snippets Database - Take 2", the online viewer for the Code Snippets database has been updated to v0.4 beta. This new release adds syntax highlighting of each snippet's source code.
15 June 2013
Recent website outage
Sorry for the recent web site outage. This was down to a problem with my web host. All now fixed and everything should be up and running again.
15 June 2013
CodeSnip Database updates are now working again
Because of a website outage CodeSnip has been unable to get updates for the Code Snippets database over the past day or so. This was due to an error on behalf of the web host which they have now fixed. For more info, follow the link. Sorry for the inconvenience.
15 June 2013