# File test_format.rb, line 324 def helper_test_five (body_fmt, file_name) File.open(file_name, File::CREAT | File::WRONLY | File::TRUNC) { |file| body_fmt.io = file month = "Sep" day = 19 year = 2001 count = 0 10.times do count += 1 num = 1 ["Market", "Home", "Eating Roast Beef", "Having None", "On the way home"].each {|location| toe_size = 1 body_fmt.printFormat(binding) num += 1 } body_fmt.finishPageWithFF(binding) unless (count == 10) end body_fmt.finishPageWithoutFF(binding) } end