How many data types are supported in Vbscript?

Answer Posted / abbas khan

There is only one Data Type in vbScript , which is able to
store any kind values such as integer, string, double, date
etc. (We term it as Varient).

To know what kind of value a variable contains,
use "TypeName" keyword.

Example :

Var1 = "abcde"
Msgbox TypeName(Var1) 'OutPut will be string

Var2 = "1234"
Msgbox TypeName(Var2) 'OutPut will be integer

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

There are 5 web pages.write a script to click the button on 4th web page.

2937


Description.Create

2160


If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?

1554


Explain the asc function?

504


I have an excel sheet with multiple ID's in a column. Now i need fetch those ID's in an application and check whether if it already exist in the DB. If not then i have to go with the process of inserting them in the DB. If it exists then i need to skip that ID and move to the next ID and check the same and proceed. How can i do that with for loop and if condition?

862






how to comvert 120 into one hunderd twenty rupees only and vice varsa

1800


What are the different types of loops available in the vbscript language?

527


PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com

1660


how to acces the remote mechine using vb cript(QTP)

1599


Explain about the extension .hta?

619


What are class variables?

612


can anyone tell me the procedure of interview held in applabs

1746


What is the use of the ‘open’ method to work with the database in the vbscript language and what connection string is passed in the same and what is its usage?

487


What is the main difference between function and sub-procedure?

549


What are the differences between sub procedures and function procedures?

518