Computer Science Canada Assistance plz...troubling program..but so easy! |
Author: | love_rox [ Sun Apr 10, 2005 9:39 am ] | ||
Post subject: | Assistance plz...troubling program..but so easy! | ||
hey guys...im having trouble with a program...mind helping me? okay, well i need to write a section of code that accepts a number, displays it in a label, and then repeats the entire process. However, the program needs to stop when the number entered is 0.999. i know im doing something wrong coz my program is screwed up!
please assist me as soon as possible..thanks! |
Author: | Brightguy [ Tue Apr 12, 2005 9:16 am ] |
Post subject: | Re: Assistance plz...troubling program..but so easy! |
Take out the loop, since it will never end and thus you won't be able to change the text. Whenever the button is clicked, the Click() procedure is run. So within this procedure check if the text is 0.999, and then exit the program if it is. |