首页 相关文章 ASP中的函数应用方法及应用举例(一)

ASP中的函数应用方法及应用举例(一)

1.Array()
FUNCTION: Returns a variant containing an array.
SYNTAX: Array(list)
ARGUMENTS: list is a comma-delimited list of values to add to the array.
EXAMPLE: <%
Dim myArray()
For i = 1 to 7
Redim Preserve myArray(i)
myArray(i) = WeekdayName(i)
Next
%
RESULT: Creates an Array contains 7 elements:
myArray("Sunday","Monday", ... ... "Saturday")
-------------------------------------

2. CInt()
FUNCTION: Returns an expression that has been converted to an Interget subty...[ 查看全文 ]

2016-01-29 标签:

ASP中的函数应用方法及应用举例(一)的相关文章

手机页面
收藏网站 回到头部