Tag Mismatch
#4

Quote:
Originally Posted by Nonameman
Посмотреть сообщение
Thanks.
I thought 0/1 do the same thing as false/true.
You're right that they're the same values... however the difference is "true" and "false" are tagged variables with the tag "bool:". The function strcmp expects a bool: tag, it will work the same if you use 1/0 but will chuck you warnings as you just found out .
Reply


Messages In This Thread
Tag Mismatch - by Nonameman - 01.08.2010, 07:10
Re: Tag Mismatch - by bigcomfycouch - 01.08.2010, 07:34
Re: Tag Mismatch - by Nonameman - 01.08.2010, 07:50
Re: Tag Mismatch - by Simon - 01.08.2010, 08:01
Re: Tag Mismatch - by Nonameman - 01.08.2010, 08:37

Forum Jump:


Users browsing this thread: 3 Guest(s)