8,849
edits
Changes
SSlogic
,→Else Logic:
</pre>
==Else Logic:==
* Often, you will want to display one of two texts--one text in the case that a condition is met and another in the case that the condition is not met. This is achieved through the use of an "else" operator.
* The following sample code will display one message if a user is male and another if the user is female: