Sorting algorithms/Bubble sort: Difference between revisions

m
→‎version 1: expanded the output window to show more values at-a-glance.
m (→‎version 1: expanded the output window to show more values at-a-glance.)
Line 3,314:
/*──────────────────────────────────────────────────────────────────────────────────────*/
show: do j=1 for #; say ' element' right(j,length(#)) arg(1)":" @.j; end; return</lang>
'''{{out|output''' |text=&nbsp; when using the internal array list:}}
<br>(Shown at &nbsp; '''<sup>3</sup>/<sub>4</sub>''' &nbsp; size.)
<pre style="heightfont-size:75ex75%">
element 1 before sort: ---letters of the Hebrew alphabet---
element 2 before sort: ====================================
Line 3,366 ⟶ 3,367:
element 24 after sort: zayin
</pre>
 
===version 2===
{{trans|PL/I}}