If anyone is interested, the (Freepascal / Lazarus) source for my utilities for processing CAS files can be found here :- http://penguin.stats.warwick.ac.uk/~stsxab/Dragon/CasUtils/ Cheers. Phill.