Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Who here is VERY good at troubleshooting QB programs?
#45
Quote:OK, I changed it but have the same result .....
Using your latest posted version, I ran a test entering numbers from 11 to 20.
At the end of the numbers subroutine I added some code to print out the 10 numbers input.
It prints the numbers 11 to 20 fine, so it is inputting them correctly.

Tell me what kind of error you're getting.

BTW, while looking at the PROB: subroutine, I noticed the following potential problems:
1) If the user enters a number greater than 52,
then the instruction X(X2)=X(X2)+1 will hang up because X is an array DIMed as (1 to 52). You need to check the number. You'll probably need to re-write the input logic.

2) In your instructions to the user you say to place zeros in the extra spaces. This also will hang on the same instruction because zero is not within 1 to 52. You need to put an "if" here to skip the zero values.
*****
Reply


Messages In This Thread
Who here is VERY good at troubleshooting QB programs? - by Anonymous - 10-13-2005, 09:44 AM
Who here is VERY good at troubleshooting QB programs? - by Anonymous - 11-02-2005, 08:42 AM
Who here is VERY good at troubleshooting QB programs? - by Moneo - 11-09-2005, 06:12 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)