News for 22 April 2012

   
Yet another Code Snippets database update!
No Code Snippets Database updates for months and then two in one day! In this one there are three routines for checking if a string is a valid Single, Double or Extended floating point number. There's also a routine to convert a positive whole number into Roman notation. A single new date / time routine converts a whole number of milliseconds into a TDateTime. There's a whole bunch of new overloaded Exchange procedures that swap the values of two integers. There are overloads for signed and unsigned versions of 8, 16, 32 and 64 bit integers. Oh yes, the old and now superseded ExchangeInt routine has moved from the Mathematics category to join its new friends in the Utilities category.
22 April 2012
The Code Snippets database has had a small, but overdue, update
The online Code Snippets database has been updated with two new graphics routines and two new type definitions. The first routine is ContrastingColor that selects either a black or white foreground colour that contrasts with a given background. The second routine is CountColors that counts the number of unique colours in a 24 bit bitmap. The new types support working with 24 bit and 32 bit scanlines. Other than that a few types and some constants that relate to graphics routines have been moved from the Types and Constants categories into Graphics.
22 April 2012