IsEmpty Function [Runtime] /text/sbasic/shared/03102400.xhp
IsEmpty function IsEmpty Function [Runtime] Tests if a Variant variable contains the Empty value. The Empty value indicates that the variable is not initialized.
Syntax: IsEmpty (Var) Return value: Bool Parameters: Var: Any variable that you want to test. If the Variant contains the Empty value, the function returns True, otherwise the function returns False. Example: Sub ExampleIsEmpty Dim sVar as Variant sVar = Empty Print IsEmpty(sVar) REM Returns True end sub