几种常用排序算法(asp)(3) Loop a_Data(j) = t Next InsertSort = a_DataEnd Function
'输出数组Sub ResponseArray(a_Data, str) Dim s s = "" Response.Write "<b>" & str & ":</b>" For i = 0 To UBound(a_Data) s = s & a_Data(i) & "," Next s = Left(s, Len(s)-1) Response.Write s Response.Write "<hr>"End Sub
%>