Sorting algorithms/Gnome sort: Difference between revisions

Content added Content deleted
(Nimrod -> Nim)
Line 685: Line 685:
test:= <<7, 99, -7, 1, 0, 25, -10>>
test:= <<7, 99, -7, 1, 0, 25, -10>>
create gnome
create gnome
test:= gnome.sort (test)
across gnome.sort (test) as ar loop io.put_string( ar.item.out + "%T") end
across test as ar loop io.put_string( ar.item.out + "%T") end
end
end