Monday, May 2, 2011

Possible Programming Terms

If

If is a control statement and decides which code should be preformed.
  • if x = true do something
  • if x = false don't
Else

Else expands on if and allows the program to chose between two or more blocks of code.

  • if x = this do something
  • else do something different

No comments:

Post a Comment