Sorting algorithms/Cocktail sort: Difference between revisions
Content added Content deleted
PatGarrett (talk | contribs) (→{{header|ALGOL 60}}: Section added) |
PatGarrett (talk | contribs) (→{{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 |