At the moment I have the following that reads in a string: edit Is there any way of using that to read in an integer value instead? I'm a bit lost with this at the moment!