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.
The relational operators are <,>,=,<>,<=,and >=.
The principal logical operators are And, Or, and Not.
A condition is an expression involving literals, variables, functions, and operators (arithmetic, relational, or logical) that can be evaluated as either True or False.
The value of a variable or expression of Boolean data type is either True or False.
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.
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.