Re: Is this a bug or expected behavior?
- Posted by ChrisB (moderator) Dec 04, 2020
- 1170 views
Hi Lonny, your program is fine, no output is the expected behaviour. STDIN is the console, and you are re-directing the input from the file instead of the console.
Add ?numbers after the end while to see that the sequence has indeed filled up with numbers. Turn off trace as well, just gets in the way here.
Cheers
Chris