Blockland Forums > Modification Help
New player list
<< < (4/12) > >>
Space Guy:
if(condition)
   statement1
else
   statement2

Statements can be anything: single assignments (%a = 2;), something larger in curly braces ({%a = 3;%b = 1;}) or another if/else.

Try any of these in-game and it works. It is entirely consistent.
Kalphiter:

--- Quote from: Space Guy on February 27, 2011, 06:29:56 PM ---or another if/else.

--- End quote ---
So weird.
Iban:
Furling, assuming we didn't scare you off, I'd be willing to address any other questions you have about this player list.


--- Quote from: Kalphiter on February 27, 2011, 06:31:02 PM ---So weird.

--- End quote ---
If you had the slightest idea of what you were talking about it'd make perfect sense.
Kalphiter:

--- Quote from: Iban on February 27, 2011, 06:32:32 PM ---If you had the slightest idea of what you were talking about it'd make perfect sense.

--- End quote ---
So, because I didn't know some nonsensical coding practice, that makes me have no idea what I'm talking about?
otto-san:
How did this turn into an argument about if/else statements with/without curly braces?
Navigation
Message Index
Next page
Previous page

Go to full version