<-- Previous || Up || Next -->

Is Off Function
Comparisons Class

Public Function IsOff( _
    ByVal vValue As Variant _
    ) As Boolean

Return True if the argument vValue is "Off".

    IsOff(23) = False
    IsOff(0) = True
    IsOff("Hello.") = False
    IsOff("True") = False
    IsOff("False") = True
    IsOff("1") = False
See also:
    IsOn Function
    IsFalse Function
vValue: Value which is checked to see if it is False. If vValue is numeric, return True if it equals 0 (zero). If vValue is a string, return True if it equals "false", "off", "no", "0", or "-". Function returns False otherwise.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.