The Dink Network

Reply to Re: no for loop and != in dink c?

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
May 6th 2011, 10:48 AM
dinkdead.gif
"I have no clue if it accepts 0 and 1 as false/true. I always just use "== 0" and "== 1" and such."

You can do
if (&var)

which is exactly the same as
if (&var != 0)

If that's what you meant?

However I don't think you can do
if (!&var)