# About The SWAG Database

SWAG is a collection of source code and program examples for the Pascal programming language that was maintained up to the end of 1997. Each chunk of source code or example is known as a packet.

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 a local copy of the SWAG database and convert any of its packets into snippets that can be imported into your local snippets database

You can download the database from the `delphidabbler/swag` project on GitHub. Go to the releases tab and download the latest supported version†. Unpack the zip file into an empty folder then run the SWAG Import Wizard and navigate to the `swag` sub-directory of the folder where you extracted the zip file . The wizard reads the database and guides you through the import process.

† The first page of the SWAG Import Wizard specifies which versions of SWAG are supported by CodeSnip.