티스토리 뷰
[출처] http://www.devguru.com/technologies/vbscript/quickref/vartype.html
VarType(Varname)
Code:
<% whatsubtype="This is a string subtype" %>
<% =VarType(whatsubtype) %>
Output:
8
Code:
<% whatsubtype=12345 %>
<% =VarType(whatsubtype) %>
Output:
2
VarType(Varname)
CONSTANT | VALUE | DESCRIPTION |
VBEmpty | 0 | Uninitialized |
VBNull | 1 | Contains no valid data |
VBInteger | 2 | Integer subtype |
VBLong | 3 | Long subtype |
VBSingle | 4 | Single subtype |
VBDouble | 5 | Double subtype |
VBCurrency | 6 | Currency subtype |
VBDate | 7 | Date subtype |
VBString | 8 | String subtype |
VBObject | 9 | Object |
VBError | 10 | Error subtype |
VBBoolean | 11 | Boolean subtype |
VBVariant | 12 | Variant (only use for arrays of variants) |
VBDataObject | 13 | Data access object |
VBDecimal | 14 | Decimal subtype |
VBByte | 17 | Byte subtype |
VBArray | 8192 | Array |
Code:
<% whatsubtype="This is a string subtype" %>
<% =VarType(whatsubtype) %>
Output:
8
Code:
<% whatsubtype=12345 %>
<% =VarType(whatsubtype) %>
Output:
2
'웹프로그래밍 > ASP Classic' 카테고리의 다른 글
vbCr, vbLf, vbCrLf, vbNewLine, chr(13), chr(10) (0) | 2011.07.05 |
---|---|
Classic ASP로 네이트 Open API 커뮤니케이션 (0) | 2011.06.30 |
Classic ASP로 네이트 인증 (Dev.Square 네이트 인증 API) (0) | 2010.12.21 |
ASP에서 ImageMagick으로 썸네일 만들기 (0) | 2010.12.17 |
ASP 자체 Binary 이미지 나타내기 (0) | 2010.11.23 |
댓글
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- iis
- 한글
- API
- Linux
- 워드프레스
- Mac
- IOS
- git
- classic asp
- sencha touch
- Android
- 안드로이드
- JQuery
- Wordpress
- PHP
- macos
- nginx
- laravel
- Prototype
- IE
- iphone
- javascript
- Debug
- ASP
- mssql
- CSS
- Docker
- JSON
- centos
- nodejs
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
글 보관함