Confusing error

Started by
1 comment, last by garconbifteck 22 years, 1 month ago
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,
Advertisement
I think you want != instead of !==.
ReactOS - an Open-source operating system compatible with Windows NT apps and drivers
Thanks

This topic is closed to new replies.

Advertisement