Understanding SS13 code: Difference between revisions
Jump to navigation
Jump to search
Understanding SS13 code (view source)
Revision as of 14:05, 30 October 2014
, 14:05, 30 October 2014→If statement
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. | ||
Comparison Operators | |||
[http://www.byond.com/members/?command=reference&path=proc%2Fif reference] | [http://www.byond.com/members/?command=reference&path=proc%2Fif reference] | ||