QB64.org Forum
		Active Forums => QB64 Discussion => Topic started by: pascal111 on August 25, 2019, 04:18:45 am
		
			
			- 
				I'm typing a small program with QB45 and I found a problem when I used "exit for" instead of the direct line number in this part of program:
Workable part without "exit for"
same part with "exit for"
the worked program without "exit for":
 
 
PRINT "Pick a number in your mind where" PRINT "n the number is 10 >= n >= 1" 10 INPUT "Are you ready (y/n)?", s$
  
INPUT "Est-il pair (o/n)?", s$
  
     
 
 
PRINT "Est-il "; y; 
" (o/n)";
  
 
PRINT "I told you all possible numbers!!"  
 
			 
			
			- 
				I think I discovered the problem, I made an infinite loop without noticing that.