03-29-2008, 12:05 AM
Ralph,
The DATA 2 conforms to the specs which say: " The first line of the input file contains the number of pairs of time to be processed."
So it looks like the program would have to check that the number of pairs matches those in the subsequent DATA statments. This could get tricky to check, especially if they don't match.
To alleviate this problem, I susgest that the Qbasic program also receive a file as input instead of using DATA statements.
Regards..... Moneo
The DATA 2 conforms to the specs which say: " The first line of the input file contains the number of pairs of time to be processed."
So it looks like the program would have to check that the number of pairs matches those in the subsequent DATA statments. This could get tricky to check, especially if they don't match.
To alleviate this problem, I susgest that the Qbasic program also receive a file as input instead of using DATA statements.
Regards..... Moneo