fb_controls
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
fb_controls [2022/12/03 23:31] – [Putting it all together] praetor | fb_controls [2022/12/03 23:34] – [Putting it all together] praetor | ||
---|---|---|---|
Line 99: | Line 99: | ||
</ | </ | ||
- | You can have as many **elseif** statements as you wish, and while you don't necessarily need an **else* statement, it is considered good form to have one to catch any unknowns a user may have. You'll see why when we discuss functions and subroutines. | + | You can have as many **elseif** statements as you wish, and while you don't necessarily need an **else** statement, it is considered good form to have one to catch any unknowns a user may have. You'll see why when we discuss functions and subroutines. |
We can also use bitwise operators like **AND**, or **OR** to test multiple things as well. Like such. | We can also use bitwise operators like **AND**, or **OR** to test multiple things as well. Like such. | ||
Line 108: | Line 108: | ||
... | ... | ||
</ | </ | ||
+ | |||
+ | **OR** states that if myName is either PRAETOR or SMJ, then the condition is true. |
fb_controls.txt · Last modified: 2022/12/04 01:27 by praetor