• got some cast errors with David's script.

    I didn't get any casting errors when I ran it but I agree your version is better with having the variables as INT and casting for printing purposes.

    David