SWAG is a collection of source code and program examples for the Pascal programming language that was maintained up to the end of 1997.
Although the SWAG database is old it is extensive and some of the code is still relevant for today's programs.
CodeSnip provides the SWAG Import Wizard that enables you to browse the SWAG database and import any of its snippets into your own snippets database.
You can browse the archive online using the DelphiDabbler SWAG Viewer.