A790
10-10-2006, 04:43 PM
Hey guys,
I'm trying to write a program that will do some basic functions for me.
All it needs to do is:
- accept input from one text box, and depending on the value of that input change the text in a label.
- keep track of the values inputed as an integer.
For example,
There are three integers: A (for numbers 1-12), B (for numbers 13-24) and C (Numbers 35-36). Each number the user inputs is between 0 and 36.
What I want is for each time a user inputs a number for the program to tell me how many times its been since an integer for each category was entered.
IE- user enters 3. The program says "Number of entries since A: 0
Number of entries since B: 1
Number of entries since C: 1"
The problem is I can't program for shit. How do I make it all work?
I'm trying to write a program that will do some basic functions for me.
All it needs to do is:
- accept input from one text box, and depending on the value of that input change the text in a label.
- keep track of the values inputed as an integer.
For example,
There are three integers: A (for numbers 1-12), B (for numbers 13-24) and C (Numbers 35-36). Each number the user inputs is between 0 and 36.
What I want is for each time a user inputs a number for the program to tell me how many times its been since an integer for each category was entered.
IE- user enters 3. The program says "Number of entries since A: 0
Number of entries since B: 1
Number of entries since C: 1"
The problem is I can't program for shit. How do I make it all work?