Hi, I attached my solution. Best regards, Daniel -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: trycast.d Url: http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20070810/d5aa5447/attachment.txt