28 th Jun 2022 21:10:19
Hai Friend , Sign In
Home
World
INDIA
Chennai City
Games
Developers
Members
Birthday
Search
Astrology
G. K.
Story
Tamil Nadu Government Holiday List 2018 in English and Tamil   *   Trichy: Wanted - PHP, MySql Programmers. Contact trichy people only 84894 28 444.   *   Indian Railways New Train Number List [Search / Enquiry / Locator / Finder]   *   பன்றிக் காய்ச்சல் பற்றி அறிந்து கொள்ளுங்கள் (Swine Flu H1N1)
See Also
IsDate Function IsDate Function
IsNumeric Function IsNumeric Function
IsNull Function IsNull Function
IsArray Function IsArray Function
IsObject Function IsObject Function
VarType Function VarType Function
TypeName Function TypeName Function
Miscellaneous Functions Misc. Functions
Visual Basic Functions Visual Basic Functions
Visual Basic Home Visual Basic Home
 
Description  Syntax  Return Datatype  Example  Migration

IsEmpty Function - Visual Basic 6.0 (VB 6.0)

Returns a Boolean value indicating whether a variable has been initialized.
Syntax:
IsEmpty(expression)
Parameter Description
expression Required. Can be any expression. However, because IsEmpty is used to determine if individual variables are initialized, the expression argument is most often a single variable name.
Return Data type:
Boolean
Example:

Dim vStr as String, vDt as Date, vInt as Integer, vBool as Boolean
Dim vArr(4, 3) as String, vSng as Single

Dim vVar1, vVar2, vVar3 as Variant
vVar2 = "Checking"
vStr = "ABCD"


Statement Result Remark
IsEmpty(1) False  
IsEmpty(vStr) False  
IsEmpty(vArr) False  
IsEmpty(vDt) False  
IsEmpty("17/03/2007") False  
IsEmpty("1234abcd") False  
IsEmpty(vInt) False  
IsEmpty(vBool) False  
IsEmpty(vSng) False  
IsEmpty(unknown) True  
IsEmpty(vVar1) True  
IsEmpty(vVar2) False  
IsEmpty(vVar3) True  
IsEmpty(True) False  
IsEmpty(False) False  
IsEmpty(null) False  
IsEmpty(0) False  
IsEmpty("abcd") False  
Go to top

Migration from Visual Basic 6.0 (VB 6.0) to
  IsEmpty Function in VB Script (VBS)
  IsEmpty Function in JScript (JS)
  IsEmpty Function in ASP (Active Server Page)
  IsEmpty Function in PHP Script
  IsEmpty Function in MS-Access
  IsEmpty Function in MS SQL Server
  IsEmpty Function in Oracle
  IsEmpty Function in C Language
  IsEmpty Function in C++ Language
  IsEmpty Function in Foxpro
  IsEmpty Function in Fortran
  IsEmpty Function in MS Excel Sheet
Go to top
 





© 2021 Chennaiiq.com. All Rights Reserved.

4103