in reply to Re: Command line args
in thread Command line args

Excellent - that was the problem. Using <> when i should have been using <STDIN>.