Jump to content

Sorting algorithms/Heapsort: Difference between revisions

m
→‎{{header|REXX}}: added comments, changed the vertical list of the names of the Greek alphabet letters.
m (→‎version 1: added whitepace, changed comments and indentations.)
m (→‎{{header|REXX}}: added comments, changed the vertical list of the names of the Greek alphabet letters.)
Line 2,284:
return
/*──────────────────────────────────GEN@ subroutine─────────────────────*/
gen@: @.=; @.1='---modern Greek alphabet letters---' /*assign default; value for arraytitle.*/
@.2= copies('=', length(@.1)) /*match sep with ↑*/
@.1 = '---modern Greek alphabet letters---'
@.8 3= 'zetaalpha' ; ; @.169 = 'xieta' ; @.15='nu' ; ; @.24 21= 'chitau'
@.2 = copies('=', length(@.1))
@.3 4= 'alphabeta' ; ; @.11 10= 'iotatheta' ; @.16='xi' ; ; @.19 22= 'rhoupsilon'
@.4 5= 'betagamma' ; ; @.12 11= 'kappaiota' ; @.17='omicron' ; ; @.20 23= 'sigmaphi'
@.5 6= 'gammadelta' ; @.12='kappa' ; @.13 18= 'lambdapi' ; ; @.21 24= 'tauchi'
@.6 7= 'deltaepsilon' ; @.13='lambd' ; ; @.14 19= 'murho' ; ; @.22 25= 'upsilonpsi'
@.7 8= 'epsilonzeta' ; ; @.15 14= 'numu' ; @.20='sigma' ; ; @.23 26= 'phiomega'
@.8 = 'zeta' ; @.16 = 'xi' ; @.24 = 'chi'
@.9 = 'eta' ; @.17 = 'omicron' ; @.25 = 'psi'
@.10 = 'theta' ; @.18 = 'pi' ; @.26 = 'omega'
 
do #=1 while @.#\==''; end /*find how many entries in list. */
Cookies help us deliver our services. By using our services, you agree to our use of cookies.