swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swarm-Support] what does '?' operator mean


From: mohammed tayebi
Subject: [Swarm-Support] what does '?' operator mean
Date: Sat, 2 Oct 2010 11:06:29 +0000 (GMT)

dear all
I find this instruction in the heatbug tutorial

<code>

 hereIsBetter = (type == cold) ? (heatHere < bestHeat)
              : (heatHere > bestHeat);

</code>

but I don't know what does '?' and ':' operator  means

thnk you for your helps


reply via email to

[Prev in Thread] Current Thread [Next in Thread]