Say you have an array of integer values, for example, pages of a document or years when something happened, like years when new Delphi version was released: If you would want to display the above years in a user friendly manner as a set of ranges, you could go for: Here’s an algorithm (in a […]
Weiterlesen...