True (Visual Basic)

Represents a Boolean value that passes a conditional test.

Remarks

Boolean Data Type (Visual Basic) values are not stored as numbers, and the stored values are not intended to be equivalent to numbers. You should never write code that relies on equivalent numeric values for True and False. Whenever possible, you should restrict usage of Boolean variables to the logical values for which they are designed. If it is necessary to mix Boolean and numeric values, be sure you understand the conversion method you choose. For more information, see "Boolean Type Does Not Convert to Numeric Type Accurately" in Troubleshooting Data Types.

See Also

Tasks

Troubleshooting Data Types

Reference

Boolean Data Type (Visual Basic)

False (Visual Basic)