Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans

2062


how to set one column as primary key in QTP and fetch values accordingly

2326


1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.

2003


How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'

3753


can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.

2297


how to operate webobjects in a webpage using getobject function and then using generic methods?

3110


i need to sort the data using qtp script for this how i need to write a qtp script

3682


Which function is used in the vbscript language to convert the specified expression into a date type value?

941


How will you get a combined string from array of string in vbscript?

960


What is the event handling in vbscript?

986


What is the use of the formatdatetime function in the vbscript language?

1023


if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.

1838


Which operator is used to perform the comparison among 2 operands in the vbscript language?

970


Write a code to print numbers from 5 to 0?

1131


Write a function for Instr(). We need to write a function that works as same as Instr(). Code or Even pseudo code is good enough for me.?

2498