Anonymous user
Sorting algorithms/Insertion sort: Difference between revisions
Sorting algorithms/Insertion sort (view source)
Revision as of 21:29, 22 November 2014
, 9 years ago→{{header|REXX}}: changed a comment.
m (→{{header|REXX}}: used a separate variable for number of entries in array.) |
m (→{{header|REXX}}: changed a comment.) |
||
Line 1,789:
do #=1 while @.#\=='' /*find how many entries in array.*/
end /*#*/ /*short and sweet DO loop, eh? */
#=#-1 /*because of DO, adjust
return
/*──────────────────────────────────INSERTIONSORT subroutine────────────*/
|