Still, we haven't heard Jens on the absolute loop value case... So, until this is the case, here is another preliminary post:


Your solution passed all tests

KiXtart
KiXtart Version = 4.53
KiXGolf Script = kixgolf_A2Z.kix

Computer
OS = Windows XP Professional
CPU = Intel Pentium Model 15
Speed = 2399 MHz
Memory = 2048 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = A-to-Z
Processing Start = 2007/09/16 22:07:26.015
Processing End = 2007/09/16 22:07:26.328
Duration = 0000/00/00 00:00:00.312
KiXGolf Score = 204

Thank you for participating in KiXtart Golf!




 Code:
function a($b,$c)
	dim $,$d,$e
	$a=0
	for each $ in $b
		dim $f
		for each $d in $b
			if $<$d
				for $e=-99 to -2
					if $=join($c,substr($,2,-$e))&-$e-$f<$a|~$a
						$a=''+(($^)-$f)+' '+$
					else
						if right($,-$e)=left($d,-$e)
							$=$+' '+$d
							$f=$f-$e+1
endfunction
_________________________