未能比较数组中的两个元素
'数据集排序,从小到大
'DoubleCollectionSort
''' <summary>
''' 数据集排序,从小到大
''' </summary>
''' <param name="Dc"></param>
''' <returns></returns>
''' <remarks></remarks>
Function HB9WQ3BLSE(ByVal Dc As ArrayList) As ArrayList
Dim NewDc As ArrayList = Dc
For i As Long = 0 To NewDc.Count - 1
For j As Long = 0 To NewDc.Count - 1
If NewDc.Item(j) < NewDc.Item(i) Then
Dim Temp As Double = NewDc(j)
NewDc(j) = NewDc(i)
NewDc(i) = Temp
End If
Next
Next
Return NewDc
End Function
[本日志由 tiancao1001 于 2022-12-30 04:29 PM 编辑]
|
暂时没有评论
发表评论 - 不要忘了输入验证码哦! |