How to workaround assignment not allowed in a condition?

Rene Zwanenburg renezwanenburg at gmail.com
Wed Oct 12 13:17:43 UTC 2022


On Wednesday, 12 October 2022 at 02:15:55 UTC, Steven 
Schveighoffer wrote:
> Am I missing something?

Perhaps I am, but why not turn it into a numeric comparison, like:

```
while((i = 5) == 0)
```


More information about the Digitalmars-d-learn mailing list