View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-25-2021 , 00:37   Re: Possibly unintended assignment
Reply With Quote #2

The compiler typically expects a comparison in the while loop conditional so it thinks you made a typo by using "=" instead of "==". If you actually are intending do an assignment, you can wrap the assignment in parentheses.
__________________
fysiks is offline