View Single Post
Greenberet
AMX Mod X Beta Tester
Join Date: Apr 2004
Location: Vienna
Old 11-30-2006 , 16:52   Re: Sockets and webservers
Reply With Quote #18

Quote:
Originally Posted by Simon Logic View Post
PS. Actually TRUE is NOT FALSE. FALSE is always 0, but TRUE may not be -1. TRUE is just non zero value =)
That is why the return value confused me.

Currently under AMX/X TRUE translates into 1, not -1.
yes/no
anything that is not null is true, and null is false.
BUT!! When you convert true to an integer it will be 1. Thats an programming standard. So this conversion has nothing to do with amxx^^
Greenberet is offline
Send a message via ICQ to Greenberet Send a message via MSN to Greenberet