somewhat new to ruby, and im trying to write a simple program to print
and I would like the program to list the next one as


and so on, this is what I have so far, I am just having trouble getting
it add +1 to the end ever time because it dosent like numbers in the
string, I have tried several things but non of which worked out. Any
advice would be a great help here is the code
Img forum tag lister
puts "What is your url: " # url from input
url = gets.chomp
puts "What is your files name: " # file name from input (IMG_ for canon
DSC_ for sony etc.)
file = gets.chomp
puts "How many files: " # # of files wanted to print from input
num = gets.to_i
puts "beginning file #: " # beginning number extension, ( number at end
of picture file eg IMG_0987, would be 0987)
bnum = gets.chomp
print ("") *num.to_i #
prints IMG tag.
I realize that you can put the numbers into a sting without first
converting but the how would you go about having it add +1 after it has
been converted?
Thanks, --Miles
