Sorting algorithms/Cocktail sort with shifting bounds: Difference between revisions
Sorting algorithms/Cocktail sort with shifting bounds (view source)
Revision as of 15:51, 10 May 2020
, 4 years ago→{{header|Visual Basic .NET}}: Better comment
PatGarrett (talk | contribs) (→{{header|VBScript}}: Better indentation) |
PatGarrett (talk | contribs) m (→{{header|Visual Basic .NET}}: Better comment) |
||
Line 366:
=={{header|Visual Basic .NET}}==
{{works with|Visual Basic .NET|9.0}}
<lang vbnet>'
Private Sub Cocktail_Shaker_Sort()
Dim A(20), tmp As Long 'or Integer Long Single Double String
|