#### Archived

This topic is now archived and is closed to further replies.

# Confusing error

This topic is 5747 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

I am making a text-rpg. I have got rid of all the errors except one, which confuses me: C:\Program Files\Microsoft Visual Studio\MyProjects\DragonWarrior\Main.cpp(126) : error C2059: syntax error : ''='' Error executing cl.exe. it says it is on line 126, this is line 126

while( PorkHer !== ''Y'' || PorkHer !== ''y'' || PorkHer !== ''N'' || PorkHer !== ''n'')  
I can''t see what is wrong with it, there is no ''='' hmm.. anyone help me (Yes this part of the game involves a hooker.) if it''s needed I can post the whole GoTown() function,

##### Share on other sites
I think you want != instead of !==.