Chapter 5 Summary


[Page 243 (continued)]

  1. The function Chr associates a character with each number from 0 through 255 as determined by the ANSI table. The function Asc is the inverse of the Chr function.

  2. The relational operators are <,>,=,<>,<=,and >=.

  3. The principal logical operators are And, Or, and Not.

  4. A condition is an expression involving literals, variables, functions, and operators (arithmetic, relational, or logical) that can be evaluated as either True or False.

  5. The value of a variable or expression of Boolean data type is either True or False.

  6. An If block decides what action to take depending on the truth values of one or more conditions. To allow several courses of action, the If, ElseIf, and Else parts of an If statement can contain other If statements.

  7. A Select Case block selects from one of several actions depending on the value of an expression, called the selector. The entries in the value lists should have the same type as the selector.




An Introduction to Programming Using Visual Basic 2005
Introduction to Programming Using Visual Basic 2005, An (6th Edition)
ISBN: 0130306541
EAN: 2147483647
Year: 2006
Pages: 164

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net