
Available under Creative Commons-ShareAlike 4.0 International License.
Often the programmer will want to do something only if the expression is true, that is with no false action. The lack of a false action is also referred to as a "null else" and would be written as:
if expression action true else do nothing
Because the "else do nothing" is implied, it is usually written in short form like:
if expression action true
- 瀏覽次數:1596