please dont rip this site
Microsoft® Visual Basic® Scripting Edition
VarType Function
Language Reference |

See Also


Description
Returns a value indicating the subtype of a variable.

Syntax

VarType(varname)

The varname argument can be any variable.

Return Values

The VarType function returns the following values:

Constant Value Description
vbEmpty    0 Empty (uninitialized)
vbNull    1 Null (no valid data)
vbInteger    2 Integer
vbLong    3 Long integer
vbSingle    4 Single-precision floating-point number
vbDouble    5 Double-precision floating-point number
vbCurrency    6 Currency
vbDate    7 Date
vbString    8 String
vbObject    9 Automation object
vbError   10 Error
vbBoolean   11 Boolean
vbVariant   12 Variant (used only with arrays of Variants)
vbDataObject   13 A data-access object
vbByte   17 Byte
vbArray 8192 Array


Note  These constants are specified by VBScript. As a result, the names can be used anywhere in your code in place of the actual values.

Remarks

The VarType function never returns the value for Array by itself. It is always added to some other value to indicate an array of a particular type. The value for Variant is only returned when it has been added to the value for Array to indicate that the argument to the VarType function is an array. For example, the value returned for an array of integers is calculated as 2 + 8192, or 8194. If an object has a default property, VarType (object) returns the type of its default property.

© 1996 by Microsoft Corporation.

file: /techref/language/asp/vbs/vbscript/187.htm, 7KB, , updated: 1996/11/22 11:12, local time: 2008/10/11 10:54,
TOP NEW HELP FIND: 
38.103.63.61:LOG IN
©2008 PLEASE DON'T RIP! DO: LINK / DIGG! / MAKE!

 ©2008 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it!
<A HREF="http://www.piclist.com/techref/language/asp/vbs/vbscript/187.htm"> Microsoft&#174; Visual Basic&#174; Scripting Edition </A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be reviewed) Just type in the box and press the Post button. (HTML welcomed!): A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Did you find what you needed?

  PICList 2008 contributors:
o List host: MIT, Site host massmind.org, Top posters @20081011 Apptech, Jinx, Xiaofan Chen, olin piclist, Vitaliy, Alan B. Pearce, William \Chops\ Westfield, JonnyMac, Tamas Rudnai, Gerhard Fiedler,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Shultz Electronics, Timothy Weber, on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
  'What can I do?' - SiCKO

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .