Thread
:
Possibly unintended assignment
View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
05-25-2021 , 00:37 Re: Possibly unintended assignment
#
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.
__________________
Polymorph
,
GitHub
fysiks
View Public Profile
Send a private message to fysiks
Find More Posts by fysiks