Main foreach loop fails when another foreach is added

ikelaiah iwan.kelaiah at gmail.com
Mon Aug 8 03:26:00 UTC 2022


On Monday, 8 August 2022 at 02:45:54 UTC, Steven Schveighoffer 
wrote:

> And now, you tried to read it again! Which means you are trying 
> to read more data from an empty stream.
>
> You need to either a) reopen the file, or b) do both in the 
> same loop.
>
>
> -Steve

Steve! You are Legend!
**Thank you**.
It is obvious now the second `foreach` is reading from an empty 
stream!

Regards,
ikel


More information about the Digitalmars-d-learn mailing list