web tools rank checker

domain .cn
.net .cn .com.cn
你正在阅览 :: 简体中文:: 学习 ASP SQL VB HTML code

学习 .ASP SQL HTML XML CSS JAVA Perl code study
English Chinese_Traditional Chinese_Simplified

你正在阅览 :: 简体中文 Chinese_Simplified

学习.主题:
首页
ASP
. Active-Server-Flash
. Array
»UBound
. Connection
. Count
. Counter
. Distinct
. Email
. File
. Folder
. Function
. GetSQLserver
. Header
. mySQL
. Record
. Recordset
. Request
. Response
. Server
. Server-CreateObject
. ServerVariables
. Session
. Special-Symbols
. String
. Sub
. Time
CSS
Ecommerce
HTML
InternetProtocol
JAVA
Microsoft
Robots
SearchEngine
SQL
SQLserver
VBscript
XML

SiteMap

3w....学习.教学 > ASP > array » ubound

3w learning

array >
ubound

Title:

UBound(arrayname[, dimension]) for i=0 to UBound(ary) next


维数的最大可用
Description:

syntax : UBound(arrayname[, dimension]) ----------------- dim ary(n) ary(0)="item1" ary(n)="item2" for i=0 to UBound(ary) next


回指定数组维数的最大可用数组(0=1)
arrayname 必选           数组变量名
如省略 dimension 参数,则默认值为 1
Example Code:

dim ary(2) ' <--- you may add more array here ary(0)="item1" ary(1)="item2" ary(2)="item3" for i=0 to UBound(ary) AryX=ary(i) qry = "SELECT value FROM settings WHERE name='"&AryX&"' " rs.Open qry,conn if not rs.EOF then AryX = rs.FIELDS("value") end if rs.close next


Dim Ary(1 to 50, 0 to 16, -2 to 8)
Ubound(Ary,1)           将返回50
Ubound(Ary,2)            将返回16
Ubound(Ary,3)            将返回8
Example Result:



..
...
...

[ 7/27/2008 ]

www learning school add more scripts and tips memo
You are at >>3WS.EZER.COM >> 3WS.EZER.COM/ASP/ARRAY/UBOUND.ASP>>ASP
Helpful link:: SEO web tools :: Live PR | SERP checker
back to top Ezer code adding :: Questions ;email