At 2009-07-24 04:27PM, "Lloyd Linklater" wrote:
>  I am writing a little thing to find all the prime numbers to a million.

You've gotten lots of good advice.  You might want to peruse how others
have coded prime number generators at
http://rosettacode.org/wiki/Category:Prime_Numbers

-- 
Glenn Jackman
    Write a wise saying and your name will live forever. -- Anonymous