| First answer:
why don't you use a Batch file to run your program?
Or, you can try to use a function to run the DOS command "pause", but it wouldn't be very pretty.
Second answer:
I don't know what you're willing to do with your loops, but I'm sorry to inform that I'm almost sure that you're doing it wrong.
You're doing this:
while condition1 :
while condition2 :
commands
But I think you're willing to do:
if condition1 :
while condition2 :
commands
or even:
while condition1 & condition2 :
commands
Regards. |