Sorting algorithms/Cocktail sort: Difference between revisions

Content added Content deleted
(→‎{{header|ALGOL 60}}: Section added)
(→‎{{header|VBScript}}: ByVal needed)
Line 3,417: Line 3,417:


;Implementation
;Implementation
<lang vb>function cocktailSort( a )
<lang vb>function cocktailSort( byval a )
dim swapped
dim swapped
dim i
dim i