Wide survey of Scottish castles from earliest defensive works of Viking invaders up to castellated dwellings of recent time. Historical associations of development of castles linked with the buildings.