' Rules for Declaring Variables
'Rules for Declaring Variables:
' Variable Name must begin with an alphabet.
' Variable names cannot exceed 255 characters.
' Variables Should NOT contain a period(.)
' Variable Names should be unique in the declared context.
'Assigning Values to the Variables
' The numeric values should be declared without double quotes.
' The String values should be enclosed within doublequotes(")
' Date and Time variables should be enclosed within hash symbol(#)
Dim Name,DOB,EmpID
Name= "Raj Kumar"
DOB= #23-10-2014#
EmpID= 432
MsgBox "Name : "&Name
MsgBox "DOB : "&DOB
MsgBox "EmpID : "&EmpID
'Rules for Declaring Variables:
' Variable Name must begin with an alphabet.
' Variable names cannot exceed 255 characters.
' Variables Should NOT contain a period(.)
' Variable Names should be unique in the declared context.
'Assigning Values to the Variables
' The numeric values should be declared without double quotes.
' The String values should be enclosed within doublequotes(")
' Date and Time variables should be enclosed within hash symbol(#)
Dim Name,DOB,EmpID
Name= "Raj Kumar"
DOB= #23-10-2014#
EmpID= 432
MsgBox "Name : "&Name
MsgBox "DOB : "&DOB
MsgBox "EmpID : "&EmpID