> Sample input looks something like:
>
[quoted text clipped - 3 lines]
> <loop is exited here>
> Command: Command: Command:
Works correctly for me. I got:
Command: Input1
Command: Input2
Command: Input3
> Can anyone explain this strange behavior? Thanks.
What environment are you running your program in? Inside an IDE?
theirlaw - 06 Jun 2007 05:32 GMT
> > Sample input looks something like:
>
[quoted text clipped - 13 lines]
>
> What environment are you running your program in? Inside an IDE?
Yes, it is within NetBeans. I was suspicious that NetBeans' console
was causing the issue. I will compile and execute outside of the IDE.
Thanks!