how the hell do u make a spring shape

hey how do u make a spring shape like a sprial or a chain i’ve been wanting to know this for ages

http://www.ingiebee.com/Blendermania/Genos%20Spring.htm
http://download.blender.org/documentation/htmlI/ch06s06.html
http://download.blender.org/documentation/htmlI/ch22s03.html