19,144
edits
(textual overview, replacing the table that I think is more confusing than helpful) |
m (→Logic: oops) |
||
Line 27: | Line 27: | ||
*The arrangement of braces and whitespace is somewhat flexible, but this is the standard style used in most places and is considered to be the most readable style. | *The arrangement of braces and whitespace is somewhat flexible, but this is the standard style used in most places and is considered to be the most readable style. | ||
*You may not need the "else" statement, in which case simply omit it. | *You may not need the "else" statement, in which case simply omit it. | ||
*<tt>value1</tt> and <tt>value2</tt> can be variables or constants. <tt>operator</tt> refers to one of the | *<tt>value1</tt> and <tt>value2</tt> can be variables or constants. <tt>operator</tt> refers to one of the relational operators in BSL (see "Operators" below). A typical "if" statement would look like... | ||
if (counter eq 3) | if (counter eq 3) |