<% TypeName(varname) %>
Value
Description
Byte
Byte value
Integer
Integer value
Long
Long integer value
Single
Single-precision floating-point value
Double
Double-precision floating-point value
Currency
Currency value
Decimal
Decimal value
Date
Date or time value
String
Character string value
Boolean
Boolean value; True or False
Empty
Uninitialized
Null
No valid data
<object type>
Actual type name of an object
Object
Generic object
Unknown
Unknown object type
Nothing
Object variable that doesn't yet refer to an object instance
Error
<% Option Explicit ReDim strVar1(3) Dim strVar2,strVar3,strVar4 strVar1(0) = 1 strVar1(1) = 2 strVar1(2) = 3 strVar1(3) = 4 strVar2 = "Weerachai Nukitram" strVar3 = 123456 strVar4 = Array(1,2,3,4,5) Response.write TypeName(strVar1)&"<br>" Response.write TypeName(strVar2)&"<br>" Response.write TypeName(strVar3)&"<br>" Response.write TypeName(strVar4)&"<br>" %>
ช่วยกันสนับสนุนรักษาเว็บไซต์ความรู้แห่งนี้ไว้ด้วยการสนับสนุน Source Code 2.0 ของทีมงานไทยครีเอท