asp教程 array 數組函數實例
asp 數組函數用於創建一個靜態的一維數組
請注意
myArray的(
該清單的論據是價值
聲明一個動態數組使用Dim和ReDim語句
Code:
<% myarray = array("A"
<% =myarray(
<% =myarray(
<% =myarray(
<% =myarray(
Output:
A B C D
Language(s): VBScript
Code:
<% myarray = array(
<% =myarray(
<% =myarray(
<% =myarray(
<% =myarray(
<% =myarray(
Output:
Language(s): VBScript
Code:
<%
Dim SomeArray()
ReDim SomeArray(
ReDim SomeArray(
%>
Language(s): VBScript
Code:
<% Dim ThreeDimensionArray(
Language(s): VBScript
From:http://tw.wingwit.com/Article/program/net/201311/14419.html