Public Function IsOn( _ ByVal vValue As Variant _ ) As Boolean
IsOn(23) = True IsOn(0) = False IsOn("Hello.") = False IsOn("True") = True IsOn("False") = False IsOn("1") = TrueSee also:
IsOff Function IsTrue Function IsFalse FunctionvValue: Value which is checked to see if it is True. If vValue is numeric, return True if it is NON-zero. If vValue is a string, return True if it equals "on", "true", "yes", "1", or "+". Function returns False otherwise.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.