Forumwarz is the first "Massively Single-Player" online RPG completely built around Internet culture.
You are currently looking at Flamebate, our community forums. Players can discuss the game here, strategize, and role play as their characters.
You need to be logged in to post and to see the uncensored versions of these forums.
Viewing a Post
|
This is C#, but I’m sure this crosses over into a few other languages.
I’m just confused if and how a conditional-and (&&) logical operator works differently than just the and (&) operator.
Conditional means that it only checks the first value if necessary, but both should always be necessary in any and statement, conditional or not, since and returns true only id both statements are true.
It’s like mixing an ‘or’ with an ‘and’ making the ‘or’ useless imo. |
||||||
Posted On: 10/03/2009 12:18AM | View Johnny Mac's Profile | # |