Thanks! I was able to get my code to work and fill the array. -Adam -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20120723/4fc5fbae/attachment.htm>