Page 1 of 1

PostPosted: Fri Jan 12, 2001 10:40 pm
by ET
I have a small program:
alert("Is this possible");

Now I should not get an alert or am I wrong completely.
I have a HP Jornada 548 PocketPC, perhaps that's the difference ?


PostPosted: Sat Jan 13, 2001 12:25 pm
by darwin
no, that is not unknown to me.
But - is it a problem?

PostPosted: Sat Jan 13, 2001 1:53 pm
by ET
For me it was a problem, because I thought it would quit the program. I wanted to do some thing like:
main() {
do something;
quit(); }
rest of program....
But it works when you add sleep(-1); just after the quit().


PostPosted: Sat Jan 13, 2001 1:55 pm
by Justinespinosa
If you use the quit() functiun, the program just post something to say it must quit, but it not end the program at this line, if you don't use a lot of resources in your file, you shouldn't have to wait a lot until Pcshell exits. else, it must delete every resource created in the \temp directory, and you will see your alert. If it's a problem for you, just stop the program with sleep();
or while(1){} just after quit().


OUTS Softwares