Understanding SS13 code: Difference between revisions

imported>Cheridan
(terminology)
imported>Cheridan
Line 141: Line 141:
The double == is used to compare two values. It's most commonly used in the if statement. In the example above you can see we compared the variable a to 14 (a == 14). This determines how the if will react.
The double == is used to compare two values. It's most commonly used in the if statement. In the example above you can see we compared the variable a to 14 (a == 14). This determines how the if will react.


==== If statement ====
Comparison Operators
[http://www.byond.com/members/?command=reference&path=proc%2Fif reference]
[http://www.byond.com/members/?command=reference&path=proc%2Fif reference]


Anonymous user